Skip to content

Commit

Permalink
Eliminate r162 revision of three.js - use from npm
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Oct 29, 2024
1 parent 0273325 commit 2d444df
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 52,857 deletions.
7 changes: 2 additions & 5 deletions build/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ import ascii from 'rollup-plugin-ascii';
import ignore from 'rollup-plugin-ignore';
import meta from '../package.json' assert { type: 'json' };

const ignore_jsroot_modules = [
'./base/lzma.mjs', './base/zstd.mjs', './base/zstd.mjs',
'../r162/three.mjs', '../r162/three_addons.mjs'
];
const ignore_jsroot_modules = [ './base/lzma.mjs', './base/zstd.mjs', './base/zstd.mjs' ];

const external_node_modules = ['mathjax', 'jsdom', 'fs', 'canvas', 'tmp', 'zlib', 'xhr2', '@oneidentity/zstd-js', 'gl'];
const external_node_modules = ['mathjax', 'jsdom', 'fs', 'canvas', 'tmp', 'zlib', 'xhr2', '@oneidentity/zstd-js', 'gl', 'three', 'three/addons'];

// TODO: maybe keep node modules as external to be able use produced builds as well?
const ignore_modules = ignore_jsroot_modules.concat(external_node_modules);
Expand Down
Loading

0 comments on commit 2d444df

Please sign in to comment.