Skip to content

Commit

Permalink
add missing rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
thelgevold committed Mar 29, 2020
1 parent 576d3b1 commit 524f0fa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ bazel-*
yarn-error.log
src/**/*.js
!src/**/svelte-demo/**/*.js
**/*.jar

!src/apps/demo-app/rollup.config.js
11 changes: 11 additions & 0 deletions src/apps/demo-app/rollup.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const node = require('rollup-plugin-node-resolve');
const commonjs = require('rollup-plugin-commonjs');

module.exports = {
plugins: [
node({
mainFields: ['browser', 'es2015', 'module', 'jsnext:main', 'main'],
}),
commonjs(),
],
};

0 comments on commit 524f0fa

Please sign in to comment.