Created
November 26, 2018 20:43
-
-
Save AlbertoDePena/1c1f8d0eac6ddeeb8a9dba378178adfe 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 common from 'rollup-plugin-commonjs'; | |
import copy from 'rollup-plugin-copy'; | |
import resolve from 'rollup-plugin-node-resolve'; | |
export default { | |
input: 'src/index.js', | |
output: { | |
file: 'dist/index.js', | |
format: 'esm' | |
}, | |
plugins: [ | |
resolve(), | |
common(), | |
babel(), | |
copy({ | |
'node_modules/@webcomponents/webcomponentsjs': 'dist/webcomponentsjs', | |
verbose: true | |
}) | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment