diff --git a/package.json b/package.json index 7f5a2a42..7fba3abd 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "test": "karma start", "test-watch": "karma start --singleRun=false --autoWatch=true", "prepublishOnly": "npm run build", - "build": "ngc && webpack && rollup -c", + "build": "ngc && webpack", "commit": "npm run prepublish && npm test && git-cz" }, "repository": { diff --git a/rollup.config.js b/rollup.config.js index a5ca91b5..d0b6b666 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -4,7 +4,7 @@ const globals = { }; export default { - input: 'dist/ngx-cookie.js', + entry: 'dist/index.js', external: Object.keys(globals), output: { file: 'bundles/ngx-cookie.js',