mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-05-01 01:10:44 -05:00
28 lines
594 B
JavaScript
28 lines
594 B
JavaScript
module.exports = {
|
|
baseUrl: '/_addon/vue-webpack',
|
|
devBaseUrl: 'http://localhost:8042/',
|
|
configureWebpack: {
|
|
output: {
|
|
// Important
|
|
filename: 'index.js'
|
|
}
|
|
},
|
|
css: {
|
|
extract: false
|
|
},
|
|
chainWebpack: config => {
|
|
config.plugins.delete('preload')
|
|
config.plugins.delete('prefetch')
|
|
config.plugins.delete('html')
|
|
config.plugins.delete('split-vendor')
|
|
config.plugins.delete('split-vendor-async')
|
|
config.plugins.delete('split-manifest')
|
|
},
|
|
devServer: {
|
|
headers: {
|
|
'Access-Control-Allow-Origin': '*'
|
|
},
|
|
port: 8042
|
|
}
|
|
}
|