Fix build script to copy static files
This commit is contained in:
30
package.json
30
package.json
@@ -1,23 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "viewer",
|
"name": "viewer",
|
||||||
"version": "0.0.1",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"scripts": {
|
||||||
"keywords": [
|
"build": "mkdir -p dist && cp -r public/* dist/"
|
||||||
""
|
}
|
||||||
],
|
}
|
||||||
"license": "ISC",
|
|
||||||
"author": "michael@appmodel.nl",
|
|
||||||
"scripts": {
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
|
||||||
"start": "webpack serve --open --config webpack.config.dev.js",
|
|
||||||
"build": "webpack --config webpack.config.prod.js"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"copy-webpack-plugin": "^11.0.0",
|
|
||||||
"html-webpack-plugin": "^5.6.0",
|
|
||||||
"webpack": "^5.91.0",
|
|
||||||
"webpack-cli": "^5.1.4",
|
|
||||||
"webpack-dev-server": "^5.0.4",
|
|
||||||
"webpack-merge": "^5.10.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user