@@ -68,7 +68,7 @@ await Promise.all([
6868 esbuild . build ( {
6969 ...BUILD_OPTIONS ,
7070 entryPoints : [ './src/compute-engine.ts' ] ,
71- outfile : './dist/compute-engine.umd.js ' ,
71+ outfile : './dist/compute-engine.umd.cjs ' ,
7272 format : 'iife' ,
7373 ...COMPUTE_ENGINE_UMD_OPTIONS ,
7474 globalName : 'ComputeEngine' ,
@@ -84,7 +84,7 @@ await Promise.all([
8484 esbuild . build ( {
8585 ...BUILD_OPTIONS ,
8686 entryPoints : [ './src/math-json.ts' ] ,
87- outfile : './dist/math-json.umd.js ' ,
87+ outfile : './dist/math-json.umd.cjs ' ,
8888 format : 'iife' ,
8989 ...MATH_JSON_UMD_OPTIONS ,
9090 globalName : 'MathJson' ,
@@ -107,7 +107,7 @@ await Promise.all([
107107 pure : [ 'console.assert' , 'console.log' ] ,
108108 minify : true ,
109109 entryPoints : [ './src/compute-engine.ts' ] ,
110- outfile : './dist/compute-engine.min.umd.js ' ,
110+ outfile : './dist/compute-engine.min.umd.cjs ' ,
111111 format : 'iife' ,
112112 ...COMPUTE_ENGINE_UMD_OPTIONS ,
113113 globalName : 'ComputeEngine' ,
@@ -129,7 +129,7 @@ await Promise.all([
129129 pure : [ 'console.assert' , 'console.log' ] ,
130130 minify : true ,
131131 entryPoints : [ './src/math-json.ts' ] ,
132- outfile : './dist/math-json.min.umd.js ' ,
132+ outfile : './dist/math-json.min.umd.cjs ' ,
133133 format : 'iife' ,
134134 ...MATH_JSON_UMD_OPTIONS ,
135135 globalName : 'MathJson' ,
0 commit comments