Skip to content

Commit

Permalink
Create bundle license file when building
Browse files Browse the repository at this point in the history
  • Loading branch information
pathmapper committed Jan 8, 2022
1 parent ae0202c commit f5ede45
Show file tree
Hide file tree
Showing 3 changed files with 851 additions and 826 deletions.
3 changes: 2 additions & 1 deletion resources/server/src/landingpage/package.json
Expand Up @@ -29,7 +29,8 @@
"sass-loader": "^9.0.3",
"vue-cli-plugin-vuetify": "~2.4.5",
"vue-template-compiler": "^2.6.14",
"vuetify-loader": "^1.7.3"
"vuetify-loader": "^1.7.3",
"webpack-license-plugin": "^4.2.1"
},
"eslintConfig": {
"root": true,
Expand Down
9 changes: 7 additions & 2 deletions resources/server/src/landingpage/vue.config.js
@@ -1,3 +1,5 @@
const LicensePlugin = require('webpack-license-plugin')

module.exports = {
publicPath: './',
outputDir: '../../api/ogc/static/landingpage/',
Expand All @@ -8,11 +10,14 @@ module.exports = {
splitChunks: {
chunks: "all",
},
}
},
plugins: [
new LicensePlugin()
]
},
runtimeCompiler: true,
devServer: {
proxy: "http://192.168.99.47:8001",
},
transpileDependencies: ["vuetify"],
}
}

0 comments on commit f5ede45

Please sign in to comment.