You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
344 B
JavaScript
19 lines
344 B
JavaScript
module.exports = {
|
|
publicPath: '',
|
|
runtimeCompiler: true,
|
|
transpileDependencies: ['vuex-module-decorators'],
|
|
|
|
devServer: {
|
|
disableHostCheck: true
|
|
},
|
|
|
|
chainWebpack: config => {
|
|
const glslRule = config.module.rule('glsl').test(/\.glsl$/)
|
|
|
|
glslRule
|
|
.use('raw')
|
|
.loader('webpack-glsl-loader')
|
|
.end()
|
|
}
|
|
}
|