mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
coverage
This commit is contained in:
parent
5a3aed3bc1
commit
c61f40e16d
@ -44,9 +44,9 @@
|
|||||||
},
|
},
|
||||||
"nyc": {
|
"nyc": {
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"index.js",
|
"test/**",
|
||||||
"node_mdoules/**/*.js",
|
"node_modules/**",
|
||||||
"test/**/*.js"
|
"index.js"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -65,13 +65,8 @@ function genConfig (opts) {
|
|||||||
resolve: ['.js', '.json', '.jsx', '.ts']
|
resolve: ['.js', '.json', '.jsx', '.ts']
|
||||||
}, aliases, opts.alias)),
|
}, aliases, opts.alias)),
|
||||||
|
|
||||||
rollupNodeResolve({ main: true, jsnext: true }),
|
|
||||||
|
|
||||||
rollupCommonJS(),
|
|
||||||
|
|
||||||
rollupBabel(Object.assign({
|
rollupBabel(Object.assign({
|
||||||
exclude: 'node_modules/**',
|
exclude: 'node_modules/**',
|
||||||
runtimeHelpers: true,
|
|
||||||
plugins: [
|
plugins: [
|
||||||
['transform-runtime', { 'helpers': false, 'polyfill': false }],
|
['transform-runtime', { 'helpers': false, 'polyfill': false }],
|
||||||
'transform-async-to-generator',
|
'transform-async-to-generator',
|
||||||
@ -82,6 +77,10 @@ function genConfig (opts) {
|
|||||||
]
|
]
|
||||||
}, opts.babel)),
|
}, opts.babel)),
|
||||||
|
|
||||||
|
rollupNodeResolve({ main: true, jsnext: true }),
|
||||||
|
|
||||||
|
rollupCommonJS(),
|
||||||
|
|
||||||
rollupReplace({
|
rollupReplace({
|
||||||
__VERSION__: version
|
__VERSION__: version
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user