Created
October 11, 2017 14:14
-
-
Save YurkaninRyan/47117f1755ee62b425bdd7b847e42c1c 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
import babel from 'rollup-plugin-babel'; | |
import resolve from 'rollup-plugin-node-resolve'; | |
import commonjs from 'rollup-plugin-commonjs'; | |
import builtins from 'rollup-plugin-node-builtins'; | |
import globals from 'rollup-plugin-node-globals'; | |
export default { | |
name: 'GuruSlateTools', | |
input: 'src/index.js', | |
output: { | |
format: 'iife', | |
file: 'dist/bundle.js', | |
}, | |
sourcemap: true, | |
plugins: [ | |
resolve({ jsnext: true, builtins: false }), | |
commonjs({ | |
include: 'node_modules/**', | |
}), | |
builtins(), | |
globals(), | |
babel({ exclude: 'node_modules/**' }), | |
], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment