mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 21:10:38 +00:00
coverage for babel.presets as a function
This commit is contained in:
parent
afc874a11a
commit
eeb79a25da
5
test/fixtures/with-config/nuxt.config.js
vendored
5
test/fixtures/with-config/nuxt.config.js
vendored
@ -52,6 +52,11 @@ module.exports = {
|
||||
'~/assets/pre-process.scss'
|
||||
]
|
||||
},
|
||||
babel: {
|
||||
presets({ isServer }) {
|
||||
return null // Coverage: Return null, so defaults will be used.
|
||||
}
|
||||
},
|
||||
extend(config, options) {
|
||||
return Object.assign({}, config, {
|
||||
devtool: 'nosources-source-map'
|
||||
|
Loading…
Reference in New Issue
Block a user