We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21ddf64 commit 470e98aCopy full SHA for 470e98a
package.json
@@ -5,7 +5,8 @@
5
"dev": "run-p watch serve",
6
"watch": "tsc -w",
7
"serve": "live-server --open=src/index.html",
8
- "build": "tsc"
+ "build": "tsc && npm run copy-assets",
9
+ "copy-assets": "cp src/styles.css dist/ && cp src/index.html dist/ && sed -i '' 's|../dist/index.js|./index.js|g' dist/index.html && sed -i '' 's|href=\"./styles.css\"|href=\"./styles.css\"|g' dist/index.html"
10
},
11
"devDependencies": {
12
"npm-run-all": "^4.1.5",
0 commit comments