Setup static file pipeline
This commit is contained in:
parent
56112a9655
commit
c1fdd81f86
9 changed files with 2582 additions and 14 deletions
12
package.json
12
package.json
|
@ -4,7 +4,15 @@
|
|||
"description": "",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build:js": "esbuild static/src/js/*.js --bundle --outdir=static/build/js --minify --sourcemap",
|
||||
"build:css": "sass --style=compressed static/src/scss:static/build/css",
|
||||
"build": "npm-run-all build:*"
|
||||
},
|
||||
"author": "Jake Howard"
|
||||
"author": "Jake Howard",
|
||||
"devDependencies": {
|
||||
"esbuild": "^0.14.43",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"sass": "^1.52.3"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue