Created
March 3, 2019 10:49
-
-
Save nweldev/a183eba8eb9c3f7ec9acb31da7daf9a3 to your computer and use it in GitHub Desktop.
LitElement ESM build 2/2 - lit-element bundle
This file contains hidden or 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 resolve from 'rollup-plugin-node-resolve'; | |
import commonjs from 'rollup-plugin-commonjs'; | |
export default [ | |
// esm + es2017 w/o lit-element | |
{//...}, | |
// lit-element bundle | |
{ | |
input: 'node_modules/lit-element/lit-element.js', | |
output: { | |
file: `lib/lit-element.js`, | |
format: 'es' | |
}, | |
plugins: [resolve(), commonjs()] | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment