mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-17 19:25:13 +00:00
ea8c2a6505
* feat: move build to packages * fix: remove build in eslint * refactor: rename nuxt-build to nuxt-pack
20 lines
337 B
JavaScript
20 lines
337 B
JavaScript
import babel from 'rollup-plugin-babel'
|
|
import config from '../nuxt-pack/rollup.config'
|
|
|
|
export default config({
|
|
rootDir: __dirname,
|
|
plugins: [
|
|
babel({
|
|
exclude: 'node_modules/**',
|
|
presets: [
|
|
[
|
|
'@babel/preset-env',
|
|
{
|
|
'modules': false
|
|
}
|
|
]
|
|
]
|
|
})
|
|
]
|
|
})
|