1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-12 00:50:53 +00:00

Update webpack build configuration to work with changes to the FFZ CDN.

This commit is contained in:
SirStendec 2018-03-30 23:34:56 -04:00
parent 79e4b02e6b
commit 57152e8ed5
2 changed files with 4 additions and 2 deletions

View file

@ -41,6 +41,8 @@ const config = module.exports = merge(common, {
}
}),
new ManifestPlugin({
basePath: 'babel/',
publicPath: 'babel/',
map: data => {
if ( data.name.endsWith('.scss') )
data.name = `${data.name.substr(0,data.name.length - 5)}.css`;
@ -51,7 +53,7 @@ const config = module.exports = merge(common, {
],
output: {
publicPath: '//cdn.frankerfacez.com/script/babel/',
publicPath: '//cdn.frankerfacez.com/static/babel/',
path: path.resolve(__dirname, 'dist/babel'),
filename: '[name].[hash].js'
}

View file

@ -50,7 +50,7 @@ const config = module.exports = merge(common, {
],
output: {
publicPath: '//cdn.frankerfacez.com/script/',
publicPath: '//cdn.frankerfacez.com/static/',
filename: '[name].[hash].js'
}
});