浏览代码

Build: Use format: cjs (#23325)

Mr.doob 3 年之前
父节点
当前提交
28909da5fa
共有 2 个文件被更改,包括 7336 次插入7338 次删除
  1. 7335 7337
      build/three.cjs
  2. 1 1
      utils/build/rollup.config.js

文件差异内容过多而无法显示
+ 7335 - 7337
build/three.cjs


+ 1 - 1
utils/build/rollup.config.js

@@ -320,7 +320,7 @@ let builds = [
 				indent: '\t'
 			},
 			{
-				format: 'umd',
+				format: 'cjs',
 				name: 'THREE',
 				file: 'build/three.cjs',
 				indent: '\t'

部分文件因为文件数量过多而无法显示