mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
revert spa fix
This commit is contained in:
parent
1dce37fde9
commit
f537b0fdcb
@ -14,8 +14,6 @@ const ExtractTextPlugin = require('extract-text-webpack-plugin')
|
||||
const debug = Debug('nuxt:build')
|
||||
debug.color = 2 // Force green color
|
||||
|
||||
const isWindows = /^win/.test(process.platform)
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Webpack Client Config
|
||||
@ -91,7 +89,7 @@ module.exports = function webpackClientConfig() {
|
||||
config.optimization.splitChunks = {
|
||||
chunks: 'all',
|
||||
// TODO: remove spa after https://github.com/jantimon/html-webpack-plugin/issues/878 solved
|
||||
name: this.options.dev || (this.options.mode === 'spa' && isWindows),
|
||||
name: this.options.dev || this.options.mode === 'spa',
|
||||
|
||||
// Explicit cache groups
|
||||
cacheGroups: {
|
||||
|
Loading…
Reference in New Issue
Block a user