mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
test: move scopeHoisting tests into basic fixture
This commit is contained in:
parent
786b25adb8
commit
423cee1f3d
@ -13,7 +13,7 @@ test.before('Init Nuxt.js', async t => {
|
||||
const rootDir = resolve(__dirname, 'fixtures/debug')
|
||||
let config = require(resolve(rootDir, 'nuxt.config.js'))
|
||||
config.rootDir = rootDir
|
||||
config.dev = true
|
||||
config.dev = true // Needed for _open middleware
|
||||
nuxt = new Nuxt(config)
|
||||
await new Builder(nuxt).build()
|
||||
|
||||
|
1
test/fixtures/basic/nuxt.config.js
vendored
1
test/fixtures/basic/nuxt.config.js
vendored
@ -20,6 +20,7 @@ module.exports = {
|
||||
},
|
||||
transition: false,
|
||||
build: {
|
||||
scopeHoisting: true,
|
||||
postcss: [
|
||||
require('postcss-cssnext')()
|
||||
]
|
||||
|
3
test/fixtures/debug/nuxt.config.js
vendored
3
test/fixtures/debug/nuxt.config.js
vendored
@ -3,9 +3,6 @@ module.exports = {
|
||||
base: '/test/'
|
||||
},
|
||||
debug: true,
|
||||
build: {
|
||||
scopeHoisting: true
|
||||
},
|
||||
editor: {
|
||||
cmd: 'echo',
|
||||
pattern: ''
|
||||
|
1
test/fixtures/with-config/nuxt.config.js
vendored
1
test/fixtures/with-config/nuxt.config.js
vendored
@ -42,7 +42,6 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
build: {
|
||||
// extractCSS: true,
|
||||
publicPath: '/orion/',
|
||||
analyze: {
|
||||
analyzerMode: 'disabled',
|
||||
|
Loading…
Reference in New Issue
Block a user