Fix build script to copy static files
This commit is contained in:
20
package.json
20
package.json
@@ -1,23 +1,7 @@
|
||||
{
|
||||
"name": "viewer",
|
||||
"version": "0.0.1",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
""
|
||||
],
|
||||
"license": "ISC",
|
||||
"author": "michael@appmodel.nl",
|
||||
"version": "1.0.0",
|
||||
"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"
|
||||
"build": "mkdir -p dist && cp -r public/* dist/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user