mirror of
https://gitlab.com/bramw/baserow.git
synced 2024-11-21 15:27:53 +00:00
31 lines
615 B
JavaScript
31 lines
615 B
JavaScript
import StyleLintPlugin from 'stylelint-webpack-plugin'
|
|
|
|
import base from './nuxt.config.base.js'
|
|
|
|
export default Object.assign(base(), {
|
|
vue: {
|
|
config: {
|
|
productionTip: false,
|
|
devtools: true,
|
|
performance: true,
|
|
silent: false,
|
|
},
|
|
},
|
|
dev: true,
|
|
build: {
|
|
extend(config, ctx) {
|
|
config.node = { fs: 'empty' }
|
|
if (ctx.isDev) {
|
|
config.devtool = ctx.isClient ? 'source-map' : 'inline-source-map'
|
|
}
|
|
},
|
|
babel: { compact: true },
|
|
plugins: [
|
|
new StyleLintPlugin({
|
|
syntax: 'scss',
|
|
}),
|
|
],
|
|
transpile: ['axios'],
|
|
},
|
|
})
|