This commit is contained in:
Nathan Bierema 2021-09-18 16:01:54 -04:00
parent 980fbec9d1
commit 7747799ed0
4 changed files with 4 additions and 6 deletions

View File

@ -9,4 +9,5 @@ node_modules
__snapshots__ __snapshots__
dev dev
.yarn/* .yarn/*
.pnp.*
**/demo/public/** **/demo/public/**

View File

@ -47,7 +47,7 @@ module.exports = {
configFile: 'demo/tsconfig.json', configFile: 'demo/tsconfig.json',
}, },
}), }),
...(isProduction ? [] : [new webpack.HotModuleReplacementPlugin()]) ...(isProduction ? [] : [new webpack.HotModuleReplacementPlugin()]),
], ],
devServer: isProduction devServer: isProduction
? {} ? {}

View File

@ -1,6 +1,3 @@
{ {
"presets": [ "presets": ["@babel/preset-env", "@babel/preset-typescript"]
"@babel/preset-env",
"@babel/preset-typescript"
]
} }

View File

@ -6,7 +6,7 @@
"strict": true, "strict": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"esModuleInterop": true, "esModuleInterop": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true
// See https://github.com/DefinitelyTyped/DefinitelyTyped/issues/33311 // See https://github.com/DefinitelyTyped/DefinitelyTyped/issues/33311
// "types": ["node", "jest", "webpack-env", "chrome"] // "types": ["node", "jest", "webpack-env", "chrome"]
} }