瀏覽代碼

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

File diff suppressed because it is too large
+ 7335 - 7337
build/three.cjs


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

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

Some files were not shown because too many files changed in this diff