Nuxt/scripts/rollup/nuxt-legacy.js
2018-08-10 14:45:58 +01:00

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