@@ -166,20 +166,20 @@ const buildServices = (() => {
166166 . pipe ( rename ( "typescript.d.ts" ) )
167167 . pipe ( dest ( "built/local" ) ) ;
168168
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"));
175175
176176 return series (
177177 buildTypescriptServicesOut ,
178178 createTypescriptServicesJs ,
179179 createTypescriptServicesDts ,
180180 createTypescriptJs ,
181181 createTypescriptDts ,
182- createTypescriptStandaloneDts ,
182+ // createTypescriptStandaloneDts,
183183 ) ;
184184} ) ( ) ;
185185task ( "services" , series ( preBuild , buildServices ) ) ;
0 commit comments