File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
packages/template/typescript-webpack/src Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ class TypeScriptWebpackTemplate extends BaseTemplate {
12
12
await super . initializeTemplate ( directory , options ) ;
13
13
await asyncOra ( 'Setting up Forge configuration' , async ( ) => {
14
14
await this . copyTemplateFile ( directory , 'forge.config.ts' ) ;
15
+ await fs . remove ( path . resolve ( directory , 'forge.config.js' ) ) ;
15
16
} ) ;
16
17
await asyncOra ( 'Setting up TypeScript configuration' , async ( ) => {
17
18
const filePath = ( fileName : string ) => path . join ( directory , 'src' , fileName ) ;
@@ -52,8 +53,6 @@ class TypeScriptWebpackTemplate extends BaseTemplate {
52
53
await fs . writeJson ( packageJSONPath , packageJSON , {
53
54
spaces : 2 ,
54
55
} ) ;
55
-
56
- await fs . writeJson ( packageJSONPath , packageJSON , { spaces : 2 } ) ;
57
56
} ) ;
58
57
}
59
58
}
You can’t perform that action at this time.
0 commit comments