Skip to content

Commit

Permalink
Task: Bulk update of dependabot upgrades (#1638)
Browse files Browse the repository at this point in the history
  • Loading branch information
thewahome authored Apr 8, 2022
1 parent 69fd519 commit f38e6e0
Show file tree
Hide file tree
Showing 5 changed files with 1,117 additions and 1,474 deletions.
46 changes: 2 additions & 44 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const sassRegex = /\.(scss|sass)$/;
const sassModuleRegex = /\.module\.(scss|sass)$/;

const hasJsxRuntime = (() => {
if(process.env.DISABLE_NEW_JSX_TRANSFORM === 'true') {
if (process.env.DISABLE_NEW_JSX_TRANSFORM === 'true') {
return false;
}
})
Expand Down Expand Up @@ -520,49 +520,7 @@ module.exports = function (webpackEnv) {
}),
// TypeScript type checking
useTypeScript &&
new ForkTsCheckerWebpackPlugin({
typescript: {
typescriptPath: resolve.sync('typescript', {
basedir: paths.appNodeModules
}),
async: false,
configOverwrite: {
compilerOptions: {
sourceMap: isEnvProduction
? shouldUseSourceMap
: isEnvDevelopment,
skipLibCheck: true,
inlineSourceMap: false,
declarationMap: false,
noEmit: true,
incremental: true,
tsBuildInfoFile: paths.appTsBuildInfoFile
}
},
context: paths.appPath,
diagnosticOptions: {
syntactic: true
},
mode: 'write-references'
},
issue: {
// This one is specifically to match during CI tests,
// as micromatch doesn't match
// '../cra-template-typescript/template/src/App.tsx'
// otherwise.
include: [
{ file: '../**/src/**/*.{ts,tsx}' },
{ file: '**/src/**/*.{ts,tsx}' }
],
exclude: [
{ file: '**/src/**/__tests__/**' },
{ file: '**/src/**/?(*.){spec|test}.*' },
{ file: '**/src/setupProxy.*' },
{ file: '**/src/setupTests.*' }
]
},
logger: { infrastructure: 'silent' }
})
new ForkTsCheckerWebpackPlugin()
].filter(Boolean),
// Turn off performance processing because we utilize
// our own hints via the FileSizeReporter
Expand Down
Loading

0 comments on commit f38e6e0

Please sign in to comment.