Skip to content

Instantly share code, notes, and snippets.

@nweldev
Created March 3, 2019 13:10
Show Gist options
  • Save nweldev/29b777bf1ce9a78ed643bbca040ec28f to your computer and use it in GitHub Desktop.
Save nweldev/29b777bf1ce9a78ed643bbca040ec28f to your computer and use it in GitHub Desktop.
LitElement Widget Bundle
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