Nuxt/scripts/rollup/nuxt-legacy.js

25 lines
421 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: [
[
2018-08-10 13:45:58 +00:00
'@babel/preset-env',
{
'modules': false
}
]
],
plugins: [
2018-08-10 13:45:58 +00:00
'@babel/external-helpers'
]
})
]
})