test: move scopeHoisting tests into basic fixture

This commit is contained in:
Pooya Parsa 2017-12-08 13:40:57 +03:30
parent 786b25adb8
commit 423cee1f3d
4 changed files with 2 additions and 5 deletions

View File

@ -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()

View File

@ -20,6 +20,7 @@ module.exports = {
},
transition: false,
build: {
scopeHoisting: true,
postcss: [
require('postcss-cssnext')()
]

View File

@ -3,9 +3,6 @@ module.exports = {
base: '/test/'
},
debug: true,
build: {
scopeHoisting: true
},
editor: {
cmd: 'echo',
pattern: ''

View File

@ -42,7 +42,6 @@ module.exports = {
}
},
build: {
// extractCSS: true,
publicPath: '/orion/',
analyze: {
analyzerMode: 'disabled',