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.
17 lines
404 B
JavaScript
17 lines
404 B
JavaScript
const isGithubView = process.env.VUE_APP_VIEW === 'github'
|
|
|
|
module.exports = {
|
|
publicPath: isGithubView ? '/lightdm-webkit-theme-osmos/' : '',
|
|
runtimeCompiler: true,
|
|
transpileDependencies: ['vuex-module-decorators'],
|
|
|
|
chainWebpack: config => {
|
|
const glslRule = config.module.rule('glsl').test(/\.glsl$/)
|
|
|
|
glslRule
|
|
.use('raw')
|
|
.loader('webpack-glsl-loader')
|
|
.end()
|
|
}
|
|
}
|