Created
October 3, 2016 20:39
-
-
Save dan-mckay/16002aa0a24906be8eb503f98f26be7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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