Skip to content

Commit

Permalink
include lib; next version
Browse files Browse the repository at this point in the history
  • Loading branch information
aliaksei-chareshneu committed Jun 26, 2024
1 parent b933bcf commit 53a8b94
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
32 changes: 16 additions & 16 deletions molstar-extension/esbuild.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ const

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

// const staticFilesPluginOptions = {
// src: './src',
// dest: './lib',
// }
const staticFilesPluginOptions = {
src: './src',
dest: './lib',
}

// const buildLib = await esbuild.context({
// entryPoints: ['src/**/*.ts'],
// bundle: false,
// minify: false,
// sourcemap: true,
// outdir: './lib',
// platform: 'browser',
// tsconfig: 'tsconfig.json',
// plugins: [copyStaticFiles(staticFilesPluginOptions)]
// })
const buildLib = await esbuild.context({
entryPoints: ['src/**/*.ts'],
bundle: false,
minify: false,
sourcemap: true,
outdir: './lib',
platform: 'browser',
tsconfig: 'tsconfig.json',
plugins: [copyStaticFiles(staticFilesPluginOptions)]
})

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

// await buildLib.rebuild();
// buildLib.dispose();
await buildLib.rebuild();
buildLib.dispose();
}
else {

Expand Down
4 changes: 2 additions & 2 deletions molstar-extension/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion molstar-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "molstar-volseg",
"version": "0.0.6",
"version": "0.0.7",
"type": "module",
"description": "MolStar extension for visualizing volumetric and segmentation data",
"repository": {
Expand Down

0 comments on commit 53a8b94

Please sign in to comment.