File tree Expand file tree Collapse file tree 3 files changed +58
-1283
lines changed Expand file tree Collapse file tree 3 files changed +58
-1283
lines changed Original file line number Diff line number Diff line change 55 "main" : " ./dist/index.js" ,
66 "bin" : " ./dist/index.js" ,
77 "scripts" : {
8- "prepare" : " microbundle --target node -f cjs --no-sourcemap --compress --external none src /index.js"
8+ "prepare" : " rollup -c ../wmr/rollup.config.js -i src/index.js -o dist /index.js"
99 },
1010 "author" : " The Preact Authors (https://preactjs.com)" ,
1111 "repository" : " preactjs/wmr" ,
1717 "devDependencies" : {
1818 "@types/node" : " ^14.14.8" ,
1919 "kleur" : " ^4.1.3" ,
20- "microbundle" : " ^0.13.0" ,
2120 "ora" : " ^5.1.0" ,
2221 "pkg-install" : " ^1.0.0" ,
2322 "sade" : " ^1.7.4"
Original file line number Diff line number Diff line change 1+ /*
2+ * Note:
3+ * This Rollup config is used to build both the `wmr` and `create-wmr` packages.
4+ */
15import { resolve , sep } from 'path' ;
26import shebangPlugin from 'rollup-plugin-preserve-shebang' ;
37import commonjs from '@rollup/plugin-commonjs' ;
You can’t perform that action at this time.
0 commit comments