mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 08:01:06 +00:00
Developent error fix, bot will take care of rest (#5121)
Fixes error of missing css file while running in development mode. Might need to merge this in to development branch
This commit is contained in:
@@ -42,16 +42,14 @@ module.exports = {
|
||||
.end()
|
||||
|
||||
config.plugins
|
||||
.delete("html")
|
||||
.delete("preload")
|
||||
.delete("prefetch")
|
||||
.delete("hmr")
|
||||
.delete("html")
|
||||
.delete("preload")
|
||||
.delete("prefetch")
|
||||
.delete("hmr")
|
||||
|
||||
config.when(process.env.NODE_ENV === 'production', config => {
|
||||
config.plugin('extract-css')
|
||||
.tap(args => {
|
||||
args[0].filename = '[name].css'
|
||||
})
|
||||
});
|
||||
config.plugin('extract-css')
|
||||
.tap(args => {
|
||||
args[0].filename = '[name].css'
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user