improve esbuild. allow for (some) modules

This commit is contained in:
Stewart Allen 2025-06-25 23:56:59 -04:00
commit 9333524613
3 changed files with 84 additions and 72 deletions

View file

@ -47,11 +47,11 @@
"connect": "^3.7.0",
"earcut": "^2.2.3",
"express-useragent": "^1.0.13",
"fast-glob": "^3.3.3",
"jszip": "^3.7.1",
"manifold-3d": "^3.1.1",
"moment": "^2.29.4",
"prettier": "^3.5.3",
"react-responsive-carousel": "^3.2.23",
"serve-static": "^1.14.1",
"three": "^0.174.0",
"three-mesh-bvh": "^0.7.6",
@ -103,7 +103,7 @@
"prebuild": "node bin/electron-pre.js",
"postbuild": "node bin/electron-post.js",
"preinstall": "node bin/install-pre.js && npx webpack --config bin/webpack-three.js",
"preinstall2": "npx webpack --config src2/webpack/webpack-three-esm.js && node src2/webpack/esbuild.config.js",
"preinstall2": "npx webpack --config src2/webpack/webpack-three-esm.js && node src2/webpack/esbuild.config.mjs",
"docs-dev": "docusaurus start",
"docs-build": "docusaurus build",
"docs-serve": "docusaurus serve",