mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
move static files & fixes
This commit is contained in:
@@ -38,6 +38,7 @@ envVars
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
assetsDir: 'static',
|
||||
configureWebpack: {
|
||||
plugins: [
|
||||
new DuplicatesPlugin({
|
||||
@@ -90,7 +91,8 @@ module.exports = {
|
||||
.use('svg-in-css')
|
||||
.loader('svg-url-loader')
|
||||
.options({
|
||||
limit: 10000,
|
||||
limit: 4000,
|
||||
name: 'svg/[contenthash].[ext]',
|
||||
})
|
||||
.end()
|
||||
.use('svgo-loader')
|
||||
|
||||
Reference in New Issue
Block a user