From aa225a0cd27fd477a896b33d2367a91d4171cf7e Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Wed, 15 Aug 2018 19:02:30 +0200 Subject: [PATCH] :wrench: Removing dependencies from non-browser builds --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4c229010744..67bf2e68647 100644 --- a/package.json +++ b/package.json @@ -27,9 +27,9 @@ "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", - "modulebuild": "BABEL_ENV=develop rollup -c rollup.js -o dist/index.mjs -f es", - "testbuild": "BABEL_ENV=test rollup -c rollup.js -o tests/dist/index.js -f cjs", + "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", + "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" },