🔧 Now including sourcemaps in build
This commit is contained in:
parent
0370b2d88c
commit
8f2f39ddb2
1 changed files with 4 additions and 4 deletions
|
@ -26,12 +26,12 @@
|
|||
"clean": "rimraf dist && rimraf tests/dist",
|
||||
"pretty": "npx prettier --write 'src/*.js'",
|
||||
"lint": "eslint --fix 'src/*.js'",
|
||||
"browserbuild": "BABEL_ENV=develop rollup -c rollup.js -o dist/browser.js -f iife -n freesewing",
|
||||
"nodebuild": "BABEL_ENV=production rollup -c rollup.js -o dist/index.js -f cjs -e bezier-js,bin-pack,hooks",
|
||||
"modulebuild": "BABEL_ENV=develop rollup -c rollup.js -o dist/index.mjs -f es -e bezier-js,bin-pack,hooks",
|
||||
"browserbuild": "BABEL_ENV=develop rollup -c rollup.js -o dist/browser.js -f iife -m true -n freesewing",
|
||||
"nodebuild": "BABEL_ENV=production rollup -c rollup.js -o dist/index.js -f cjs -m true -e bezier-js,bin-pack,hooks",
|
||||
"modulebuild": "BABEL_ENV=develop rollup -c rollup.js -o dist/index.mjs -f es -m true -e bezier-js,bin-pack,hooks",
|
||||
"testbuild": "BABEL_ENV=test rollup -c rollup.js -o tests/dist/index.js -f cjs -e bezier-js,bin-pack,hooks",
|
||||
"build": "npm run clean && npm run browserbuild && npm run nodebuild && npm run modulebuild && npm run testbuild",
|
||||
"watch": "rollup -c rollup.js -o dist/index.js -f cjs --watch"
|
||||
"watch": "rollup -c rollup.js -o dist/index.js -f cjs -m true --watch"
|
||||
},
|
||||
"nyc": {
|
||||
"exclude": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue