Fix build script to copy static files

This commit is contained in:
Gitea Deploy
2025-12-02 17:30:01 +01:00
parent e3b67752b5
commit eca11a82a9
2 changed files with 8 additions and 23 deletions

1
.app-type Normal file
View File

@@ -0,0 +1 @@
type=static-fe

View File

@@ -1,23 +1,7 @@
{
"name": "viewer",
"version": "0.0.1",
"description": "",
"keywords": [
""
],
"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"
}
}
{
"name": "viewer",
"version": "1.0.0",
"scripts": {
"build": "mkdir -p dist && cp -r public/* dist/"
}
}