Nuxt/scripts/rollup/nuxt-legacy.js

25 lines
400 B
JavaScript
Raw Normal View History

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'
]
})
]
})