File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -294,6 +294,22 @@ const builds = [
294294 }
295295 ]
296296 } ,
297+ {
298+ input : 'src/Three.js' ,
299+ plugins : [
300+ addons ( ) ,
301+ glconstants ( ) ,
302+ glsl ( ) ,
303+ terser ( ) ,
304+ header ( )
305+ ] ,
306+ output : [
307+ {
308+ format : 'esm' ,
309+ file : 'build/three.module.min.js'
310+ }
311+ ]
312+ } ,
297313 {
298314 input : 'src/Three.js' ,
299315 plugins : [
@@ -310,6 +326,24 @@ const builds = [
310326 }
311327 ]
312328 } ,
329+
330+ {
331+ input : 'src/Three.js' ,
332+ plugins : [
333+ addons ( ) ,
334+ glsl ( ) ,
335+ terser ( ) ,
336+ header ( )
337+ ] ,
338+ output : [
339+ {
340+ format : 'cjs' ,
341+ name : 'THREE' ,
342+ file : 'build/three.min.cjs' ,
343+ indent : '\t'
344+ }
345+ ]
346+ } ,
313347 { // @deprecated , r150
314348 input : 'src/Three.js' ,
315349 plugins : [
You can’t perform that action at this time.
0 commit comments