@vue/ui
Version:
UI components used in the vuejs organization apps
37 lines (31 loc) • 731 B
JavaScript
const path = require('path')
module.exports = {
lintOnSave: false,
outputDir: './docs',
publicPath: './',
configureWebpack: {
entry: {
app: path.resolve(__dirname, './docs-src/main.js'),
},
resolve: {
alias: {
'@style': path.resolve(__dirname, './src/style/imports.styl'),
'@': path.resolve(__dirname, './docs-src'),
},
},
},
chainWebpack: config => {
config.module
.rule('js')
.include
.add(path.resolve(__dirname, './docs-src'))
config.module
.rule('vue')
.use('vue-loader')
.loader('vue-loader')
.tap(options => {
options.compilerOptions.preserveWhitespace = true
return options
})
},
}