Created
March 3, 2019 13:10
-
-
Save nweldev/29b777bf1ce9a78ed643bbca040ec28f to your computer and use it in GitHub Desktop.
LitElement Widget Bundle
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 resolve from 'rollup-plugin-node-resolve'; | |
import commonjs from 'rollup-plugin-commonjs'; | |
export default [ | |
// es2017 standalone bundle | |
{ | |
input: 'src/hello-element.js', | |
output: { | |
file: `lib/hello-element.bundle.js`, | |
format: 'iife', | |
}, | |
plugins: [resolve(), commonjs()] | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment