Skip to content

Commit 3ef88ae

Browse files
committed
chore(lib): build path
1 parent 0f245b3 commit 3ef88ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"test": "ng lint && npm run format:test && npm run test:lib",
1111
"test:lib": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --config projects/elements/jest.config.ts",
1212
"watch": "ng test --watch",
13-
"prebuild": "",
13+
"prebuild": "npm run build:copy-changelog",
1414
"build": "ng build elements-demo && ng build elements",
15-
"postbuild": "npm run build:copy-changelog && replace \"onFetch.*\\{\" \"onFetch(event) { if (event.request.url.indexOf('unpkg.com') > -1) { return; }\" ./dist/elements-demo/ngsw-worker.js",
15+
"postbuild": "replace \"onFetch.*\\{\" \"onFetch(event) { if (event.request.url.indexOf('unpkg.com') > -1) { return; }\" ./dist/elements-demo/browser/ngsw-worker.js",
1616
"build:copy-assets": "cpx README.md dist/elements",
1717
"build:copy-changelog": "cpx CHANGELOG.md projects/elements-demo/src/assets",
1818
"format:write": "prettier projects/**/*.{ts,json,md} --write",

0 commit comments

Comments
 (0)