mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
ef7a42649d
nuxt-start and nuxt/legacy are also coming!
25 lines
400 B
JavaScript
25 lines
400 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: [
|
|
[
|
|
'env',
|
|
{
|
|
'modules': false
|
|
}
|
|
]
|
|
],
|
|
plugins: [
|
|
'external-helpers'
|
|
]
|
|
})
|
|
]
|
|
})
|