diff --git a/package.json b/package.json index 94ae15c57..f2753794c 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "postversion": "bash ./scripts/github-release.sh" }, "main": "./dist/mathlive.js", - "module": "./dist/mathlive.mjs", "types": "./dist/public/mathlive.d.ts", "files": [ "/dist", diff --git a/rollup.config.js b/rollup.config.js index 10fec33d1..2c3301a25 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -174,33 +174,16 @@ const ROLLUP = [ }), typescript(TYPESCRIPT_OPTIONS), ], - output: true - ? [ - // JavaScript native module - // (stricly speaking not necessary, since the UMD output is module - // compatible, but this gives us a "clean" module) - { - format: 'es', - file: `${BUILD_DIRECTORY}/mathlive.mjs`, - sourcemap: !PRODUCTION, - exports: 'named', - }, - // UMD file, suitable for import,