Skip to content
Snippets Groups Projects
Commit 8e0c3425 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Don't expose the demo by default

Make rollup bundle the demo app by default and let the index.js point to
the actual implementation.

This way we can use the default entry point of the package when including it
in other packages and don't have to reference specific files.
parent 89225fc0
No related branches found
No related tags found
No related merge requests found
import './index';
import './vpu-auth-demo';
import './vpu-auth'; import './vpu-auth';
import './vpu-auth-demo';
...@@ -11,7 +11,7 @@ const build = (typeof process.env.BUILD !== 'undefined') ? process.env.BUILD : ' ...@@ -11,7 +11,7 @@ const build = (typeof process.env.BUILD !== 'undefined') ? process.env.BUILD : '
console.log("build: " + build); console.log("build: " + build);
export default { export default {
input: 'index.js', input: 'demo.js',
output: { output: {
file: 'dist/bundle.js', file: 'dist/bundle.js',
format: 'esm' format: 'esm'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment