mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
25 lines
421 B
JavaScript
25 lines
421 B
JavaScript
import babel from 'rollup-plugin-babel'
|
|
|
|
import config from './rollup.config'
|
|
|
|
export default config({
|
|
name: 'nuxt-legacy',
|
|
input: './lib/nuxt-legacy.js',
|
|
plugins: [
|
|
babel({
|
|
exclude: 'node_modules/**',
|
|
presets: [
|
|
[
|
|
'@babel/preset-env',
|
|
{
|
|
'modules': false
|
|
}
|
|
]
|
|
],
|
|
plugins: [
|
|
'@babel/external-helpers'
|
|
]
|
|
})
|
|
]
|
|
})
|