mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
parent
da3c3aded1
commit
aa474017d7
|
@ -124,7 +124,11 @@ function optimizationConfig ({ dev, isServer, totalPages, target }) {
|
|||
|
||||
// Terser is a better uglifier
|
||||
config.minimizer = [
|
||||
new TerserPlugin(terserPluginConfig)
|
||||
new TerserPlugin({...terserPluginConfig,
|
||||
terserOptions: {
|
||||
safari10: true
|
||||
}
|
||||
})
|
||||
]
|
||||
|
||||
// Only enabled in production
|
||||
|
|
Loading…
Reference in a new issue