24 lines
451 B
JavaScript
24 lines
451 B
JavaScript
import commonjs from 'rollup-plugin-commonjs'
|
|
import resolve from 'rollup-plugin-node-resolve'
|
|
import babel from 'rollup-plugin-babel'
|
|
|
|
export default {
|
|
entry: 'src/index.js',
|
|
exports: 'named',
|
|
moduleName: 'vue-apollo',
|
|
plugins: [
|
|
resolve({
|
|
jsnext: true,
|
|
main: true,
|
|
browser: true,
|
|
}),
|
|
commonjs(),
|
|
babel({
|
|
exclude: 'node_modules/**',
|
|
plugins: [
|
|
'external-helpers',
|
|
],
|
|
}),
|
|
],
|
|
}
|