mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
bd341f3ffc
Former-commit-id: e47639684bbb1b4d0a15ac8c39dbb0040ae86226 [formerly 3343000db072beb88cec31bb52b139313469f612] [formerly 062dd709613b5784dc8e9b2f327df3cd4c95dc75 [formerly 69d8cd6343
]]
Former-commit-id: 1c0ebd340266b2020ffba94d2370dbf7c98d1aa6 [formerly fcf840509a0f782b8460fb354aed513dbaa10aa2]
Former-commit-id: bd4e275034627c7ff9c8b60c1405ce6aed912761
27 lines
743 B
JavaScript
27 lines
743 B
JavaScript
// see http://vuejs-templates.github.io/webpack for documentation.
|
|
var path = require('path')
|
|
|
|
module.exports = {
|
|
index: path.resolve(__dirname, '../dist/index.html'),
|
|
assetsRoot: path.resolve(__dirname, '../dist'),
|
|
assetsSubDirectory: 'static',
|
|
assetsPublicPath: '{{ .BaseURL }}/',
|
|
build: {
|
|
env: {
|
|
NODE_ENV: '"production"'
|
|
},
|
|
productionSourceMap: true,
|
|
// Run the build command with an extra argument to
|
|
// View the bundle analyzer report after build finishes:
|
|
// `npm run build --report`
|
|
// Set to `true` or `false` to always turn it on or off
|
|
bundleAnalyzerReport: process.env.npm_config_report
|
|
},
|
|
dev: {
|
|
env: {
|
|
NODE_ENV: '"development"'
|
|
},
|
|
produceSourceMap: true
|
|
}
|
|
}
|