Skip to content

Commit 53a8b94

Browse files
include lib; next version
1 parent b933bcf commit 53a8b94

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

molstar-extension/esbuild.config.js

+16-16
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ const
99

1010
console.log(`${ productionMode ? 'production' : 'development' } build`);
1111

12-
// const staticFilesPluginOptions = {
13-
// src: './src',
14-
// dest: './lib',
15-
// }
12+
const staticFilesPluginOptions = {
13+
src: './src',
14+
dest: './lib',
15+
}
1616

17-
// const buildLib = await esbuild.context({
18-
// entryPoints: ['src/**/*.ts'],
19-
// bundle: false,
20-
// minify: false,
21-
// sourcemap: true,
22-
// outdir: './lib',
23-
// platform: 'browser',
24-
// tsconfig: 'tsconfig.json',
25-
// plugins: [copyStaticFiles(staticFilesPluginOptions)]
26-
// })
17+
const buildLib = await esbuild.context({
18+
entryPoints: ['src/**/*.ts'],
19+
bundle: false,
20+
minify: false,
21+
sourcemap: true,
22+
outdir: './lib',
23+
platform: 'browser',
24+
tsconfig: 'tsconfig.json',
25+
plugins: [copyStaticFiles(staticFilesPluginOptions)]
26+
})
2727

2828
const buildCSS = await esbuild.context({
2929
entryPoints: ['src/viewer/main.css'],
@@ -73,8 +73,8 @@ if (productionMode) {
7373
await buildTS.rebuild();
7474
buildTS.dispose();
7575

76-
// await buildLib.rebuild();
77-
// buildLib.dispose();
76+
await buildLib.rebuild();
77+
buildLib.dispose();
7878
}
7979
else {
8080

molstar-extension/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

molstar-extension/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "molstar-volseg",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"type": "module",
55
"description": "MolStar extension for visualizing volumetric and segmentation data",
66
"repository": {

0 commit comments

Comments
 (0)