@@ -166,20 +166,20 @@ const buildServices = (() => {
166
166
. pipe ( rename ( "typescript.d.ts" ) )
167
167
. pipe ( dest ( "built/local" ) ) ;
168
168
169
- // create typescript_standalone.d.ts
170
- const createTypescriptStandaloneDts = ( ) => src ( "built/local/typescriptServices.d.ts" )
171
- . pipe ( newer ( "built/local/typescript_standalone.d.ts" ) )
172
- . pipe ( transform ( content => content . replace ( / d e c l a r e ( n a m e s p a c e | m o d u l e ) t s / g, 'declare module "typescript"' ) ) )
173
- . pipe ( rename ( "typescript_standalone.d.ts" ) )
174
- . pipe ( dest ( "built/local" ) ) ;
169
+ // // create typescript_standalone.d.ts
170
+ // const createTypescriptStandaloneDts = () => src("built/local/typescriptServices.d.ts")
171
+ // .pipe(newer("built/local/typescript_standalone.d.ts"))
172
+ // .pipe(transform(content => content.replace(/declare (namespace|module) ts/g, 'declare module "typescript"')))
173
+ // .pipe(rename("typescript_standalone.d.ts"))
174
+ // .pipe(dest("built/local"));
175
175
176
176
return series (
177
177
buildTypescriptServicesOut ,
178
178
createTypescriptServicesJs ,
179
179
createTypescriptServicesDts ,
180
180
createTypescriptJs ,
181
181
createTypescriptDts ,
182
- createTypescriptStandaloneDts ,
182
+ // createTypescriptStandaloneDts,
183
183
) ;
184
184
} ) ( ) ;
185
185
task ( "services" , series ( preBuild , buildServices ) ) ;
0 commit comments