Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Changes in dev
1. Add textendash and textemdash `TLatex` symbols #407
1. Add `@vite-ignore` comment to dynamic imports to suppress Vite/Rollup analysis warnings
1. Let store canvas as html file via context menu
1. Improve `TGraph` update
1. When draw TH2/TF2 with "surf same" draw option, only lines are drawn
Expand Down
6 changes: 3 additions & 3 deletions modules/core.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ async function injectCode(code) {
}).then(_fs => {
fs = _fs;
fs.writeFileSync(name, code);
return import(/* webpackIgnore: true */ 'file://' + name);
return import(/* webpackIgnore: true */ /* @vite-ignore */ 'file://' + name);
}).finally(() => fs.unlinkSync(name));
}

Expand Down Expand Up @@ -1179,7 +1179,7 @@ async function loadModules(arg) {
arg = arg.split(';');
if (!arg.length)
return true;
return import(/* webpackIgnore: true */ arg.shift()).then(() => loadModules(arg));
return import(/* webpackIgnore: true */ /* @vite-ignore */ arg.shift()).then(() => loadModules(arg));
}

/** @summary Load script or CSS file into the browser
Expand Down Expand Up @@ -1218,7 +1218,7 @@ async function loadScript(url) {
if (url.indexOf('./') === 0)
return import('fs').then(fs => injectCode(fs.readFileSync(url)));

return import(/* webpackIgnore: true */ url);
return import(/* webpackIgnore: true */ /* @vite-ignore */ url);
}

const match_url = src => {
Expand Down
2 changes: 1 addition & 1 deletion modules/gui/HierarchyPainter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3212,7 +3212,7 @@ class HierarchyPainter extends BasePainter {
case 'draw_tree': return import('../draw/TTree.mjs');
case 'hierarchy': return { HierarchyPainter, markAsStreamerInfo };
}
return import(/* webpackIgnore: true */ module);
return import(/* webpackIgnore: true */ /* @vite-ignore */ module);
}

/** @summary set cached object for gui drawing
Expand Down
Loading