diff --git a/packages/auth/demo.js b/packages/auth/demo.js new file mode 100644 index 0000000000000000000000000000000000000000..ba7b31555dc6cda3f1d7ccba5a41772123596ce0 --- /dev/null +++ b/packages/auth/demo.js @@ -0,0 +1,2 @@ +import './index'; +import './vpu-auth-demo'; diff --git a/packages/auth/index.js b/packages/auth/index.js index 6f9872ca371278cc7c2e7de3ba86372f6a616dd7..64b5752d512ef224eb47522d2d480104de6a7afe 100644 --- a/packages/auth/index.js +++ b/packages/auth/index.js @@ -1,2 +1 @@ import './vpu-auth'; -import './vpu-auth-demo'; diff --git a/packages/auth/rollup.config.js b/packages/auth/rollup.config.js index 9db64d44ecc3219916b717ff10c9b5e8d8d6f687..0211dac6f5bc95abd2d758c1048a2c0502fb08a4 100644 --- a/packages/auth/rollup.config.js +++ b/packages/auth/rollup.config.js @@ -11,7 +11,7 @@ const build = (typeof process.env.BUILD !== 'undefined') ? process.env.BUILD : ' console.log("build: " + build); export default { - input: 'index.js', + input: 'demo.js', output: { file: 'dist/bundle.js', format: 'esm'