mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-31 18:10:50 +01:00
updated frontend build config
This commit is contained in:
@@ -29,10 +29,14 @@
|
||||
"vue-router": "^4.0.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"crawlab-ui": "0.6.0-beta.20220128.1900",
|
||||
"@babel/core": "^7.17.2",
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
"@vue/cli-service": "^4.5.13",
|
||||
"@vue/compiler-sfc": "^3.0.11",
|
||||
"babel-loader": "^8.2.3",
|
||||
"copy-webpack-plugin": "^6.0",
|
||||
"crawlab-ui": "0.6.0-beta.20220128.1900",
|
||||
"raw-loader": "^4.0.2",
|
||||
"serve": "^13.0.2",
|
||||
"webpack-bundle-analyzer": "^4.5.0"
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ const config = {
|
||||
|
||||
if (['development', 'local'].includes(process.env.NODE_ENV)) {
|
||||
// do nothing
|
||||
} else if (['production'].includes(process.env.NODE_ENV)) {
|
||||
} else if (['production', 'docker'].includes(process.env.NODE_ENV)) {
|
||||
config.configureWebpack.plugins.push(new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
{
|
||||
|
||||
2424
frontend/yarn.lock
2424
frontend/yarn.lock
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user