Package: node-magic-string
Version: 0.25.3-1
Severity: important
Provided magic-string.es.js does not match location mentioned in "module" field
of package.json
With import path changed and directly running ES module in rollup,
$ node --
experimental-modules bin/src/index.js (node:19550)
ExperimentalWarning: The ESM module loader is experimental.
file:///home/praveen/forge/node-rollup/src/Bundle.js:3
import { Bundle as MagicStringBundle } from 'magic-string';
^^^^^^
SyntaxError: The requested module 'magic-string' does not provide an export
named 'Bundle' at ModuleJob._instantiate
(internal/modules/esm/module_job.js:93:21) at async
ModuleJob.run (internal/modules/esm/module_job.js:108:20)
at async Loader.import (internal/modules/esm/loader.js:134:24)
Please ship the file in dist to match package.json and fix the ES module
exports.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel