@@ -17,15 +17,10 @@ gulp.task("release", () => { project = releaseProject; });
17
17
gulp . task ( "clean" , ( ) => del ( [
18
18
"Reflect.js" ,
19
19
"Reflect.js.map" ,
20
- "Reflect.mjs" ,
21
20
"ReflectLite.js" ,
22
21
"ReflectLite.js.map" ,
23
- "ReflectLite.mjs" ,
24
22
"ReflectNoConflict.js" ,
25
23
"ReflectNoConflict.js.map" ,
26
- "ReflectNoConflict.mjs" ,
27
- "index.d.mts" ,
28
- "no-conflict.d.mts" ,
29
24
"test/**/*.js" ,
30
25
"test/**/*.js.map"
31
26
] ) ) ;
@@ -35,12 +30,7 @@ gulp.task("build:reflect", () => gulp
35
30
. pipe ( project ( ) )
36
31
. pipe ( gulp . dest ( "." ) ) ) ;
37
32
38
- gulp . task ( "build:mjs" , [ "build:reflect" ] , ( ) => gulp
39
- . src ( [ "Reflect.js" , "ReflectLite.js" , "ReflectNoConflict.js" , "index.d.ts" , "no-conflict.d.ts" ] )
40
- . pipe ( rename ( path => path . extname = path . extname === ".ts" ? ".mts" : ".mjs" ) )
41
- . pipe ( gulp . dest ( "." ) ) ) ;
42
-
43
- gulp . task ( "build:tests" , [ "build:mjs" ] , ( ) => gulp
33
+ gulp . task ( "build:tests" , [ "build:reflect" ] , ( ) => gulp
44
34
. src ( [ "test/**/*.ts" ] )
45
35
. pipe ( tests ( ) )
46
36
. pipe ( gulp . dest ( "test" ) ) ) ;
@@ -55,7 +45,7 @@ gulp.task("build:spec", () => gulp
55
45
} ) )
56
46
. pipe ( gulp . dest ( "docs" ) ) ) ;
57
47
58
- gulp . task ( "build" , [ "build:reflect" , "build:mjs" , "build: tests", "build:spec" ] ) ;
48
+ gulp . task ( "build" , [ "build:reflect" , "build:tests" , "build:spec" ] ) ;
59
49
60
50
gulp . task ( "no-polyfill" , ( ) => {
61
51
process . env [ "REFLECT_METADATA_USE_MAP_POLYFILL" ] = "" ;
0 commit comments