Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Last active January 21, 2016 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuck0523/3ce3835f912d5b70feaf to your computer and use it in GitHub Desktop.
Save chuck0523/3ce3835f912d5b70feaf to your computer and use it in GitHub Desktop.
import npm from 'rollup-plugin-npm'
import commonjs from 'rollup-plugin-commonjs'
import babel from 'rollup-plugin-babel'
export default {
entry: 'src/main.js',
dist: 'dist/bundle.js',
plugins: [
npm({ jsnext: true }),
commonjs(),
babel()
]
}
// this code is copied from http://qiita.com/cognitom/items/e3ac0da00241f427dad6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment