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

Build a bundle for vpu-app-shell

This way it can be used as a bundle without having to integrate it into
a build tool.
parent cc35aed7
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
}
</style>
<script type="module" src="/demo.js"></script>
<script type="module" src="/vpu-app-shell.js"></script>
</head>
<body>
......
......@@ -33,7 +33,7 @@ function getBuildInfo() {
}
export default {
input: (build !='test') ? ['src/demo.js', 'src/vpu-activity-example.js'] : glob.sync('test/**/*.js'),
input: (build !='test') ? ['src/vpu-app-shell.js', 'src/vpu-activity-example.js'] : glob.sync('test/**/*.js'),
output: {
dir: 'dist',
entryFileNames: '[name].js',
......
import {AppShell} from './index.js';
import {AppShell} from './app-shell.js';
import * as commonUtils from 'vpu-common/utils';
commonUtils.defineCustomElement('vpu-app-shell', AppShell);
\ No newline at end of file
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