Skip to content
Snippets Groups Projects
Commit 104ab757 authored by dsehnal's avatar dsehnal
Browse files

Update fs import in data-source.ts

parent de84a8c8
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,12 @@ Note that since we don't clearly distinguish between a public and private interf
## [Unreleased]
Fix impostor bond visuals not correctly updating on `sizeFactor` changes
Fix degenerate case in PCA
Fix near clipping avoidance in impostor shaders
## [v3.31.3] - 2023-02-22
- Fix impostor bond visuals not correctly updating on `sizeFactor` changes
- Fix degenerate case in PCA
- Fix near clipping avoidance in impostor shaders
- Update `fs` import in `data-source.ts`
## [v3.31.2] - 2023-02-12
......
......@@ -305,7 +305,8 @@ function ajaxGetInternal<T extends DataType>(title: string | undefined, url: str
let _fs: (typeof import ('fs')) | undefined = undefined;
function getFS() {
if (_fs) return _fs!;
_fs = require('fs');
const req = require; // To fool webpack
_fs = req('fs');
return _fs!;
}
......
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