mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
- First draft of babel 7 support
This commit is contained in:
parent
e65f2521b1
commit
fe4cd3ee37
@ -13,6 +13,9 @@ function transpile(dir) {
|
||||
presets: [
|
||||
['@babel/preset-env', {
|
||||
modules: false,
|
||||
targets: {
|
||||
node: true,
|
||||
},
|
||||
}],
|
||||
['@babel/preset-typescript', {
|
||||
onlyRemoveTypeImports: true,
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"removeComments": true,
|
||||
"isolatedModules": true,
|
||||
"allowSyntheticDefaultImports": true
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user