|
57 | 57 | "build": "run-p build:transpile build:bundle build:types", |
58 | 58 | "build:dev": "yarn build", |
59 | 59 | "build:bundle": "run-p build:bundle:es5 build:bundle:es6", |
60 | | - "build:bundle:es5": "JS_VERSION=es5 rollup -c rollup.bundle.config.js", |
61 | | - "build:bundle:es6": "JS_VERSION=es6 rollup -c rollup.bundle.config.js", |
62 | | - "build:transpile": "rollup -c rollup.npm.config.js", |
| 60 | + "build:bundle:es5": "JS_VERSION=es5 rollup -c rollup.bundle.config.mjs", |
| 61 | + "build:bundle:es6": "JS_VERSION=es6 rollup -c rollup.bundle.config.mjs", |
| 62 | + "build:transpile": "rollup -c rollup.npm.config.mjs", |
63 | 63 | "build:types": "run-s build:types:core build:types:downlevel", |
64 | 64 | "build:types:core": "tsc -p tsconfig.types.json", |
65 | 65 | "build:types:downlevel": "yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8", |
66 | 66 | "build:watch": "run-p build:transpile:watch build:bundle:watch build:types:watch", |
67 | 67 | "build:dev:watch": "run-p build:transpile:watch build:types:watch", |
68 | | - "build:bundle:watch": "rollup -c rollup.bundle.config.js --watch", |
69 | | - "build:transpile:watch": "rollup -c rollup.npm.config.js --watch", |
| 68 | + "build:bundle:watch": "rollup -c rollup.bundle.config.mjs --watch", |
| 69 | + "build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch", |
70 | 70 | "build:types:watch": "tsc -p tsconfig.types.json --watch", |
71 | 71 | "build:tarball": "ts-node ../../scripts/prepack.ts --bundles && npm pack ./build/npm", |
72 | 72 | "circularDepCheck": "madge --circular src/index.ts", |
|
0 commit comments