Skip to content

Instantly share code, notes, and snippets.

@dan-mckay
Created October 3, 2016 20:39
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 dan-mckay/16002aa0a24906be8eb503f98f26be7d to your computer and use it in GitHub Desktop.
Save dan-mckay/16002aa0a24906be8eb503f98f26be7d to your computer and use it in GitHub Desktop.
// Rollup plugins
import babel from 'rollup-plugin-babel';
import eslint from 'rollup-plugin-eslint';
export default {
entry: 'src/scripts/main.js',
dest: 'build/js/main.min.js',
format: 'iife',
sourceMap: 'inline',
plugins: [
eslint({
exclude: [
'src/styles/**'
]
}),
babel({
exclude: 'node_modules/**'
})
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment