Skip to content

Commit b2a47f9

Browse files
committed
fix module resolution type in tsconfig
1 parent b6f0c40 commit b2a47f9

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

config/webpack.config.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ const babelRuntimeRegenerator = require.resolve('@babel/runtime/regenerator', {
5353
paths: [babelRuntimeEntry],
5454
});
5555

56-
// Some apps do not need the benefits of saving a web request, so not inlining the chunk
57-
// makes for a smoother build process.
58-
const shouldInlineRuntimeChunk = process.env.INLINE_RUNTIME_CHUNK === 'true';
59-
6056
const emitErrorsAsWarnings = process.env.ESLINT_NO_DEV_ERRORS === 'true';
6157
const disableESLintPlugin = process.env.DISABLE_ESLINT_PLUGIN === 'true';
6258
const extractCss = process.env.EXTRACT_CSS === 'true';
@@ -204,6 +200,7 @@ const baseConfigFactory = function (webpackEnv) {
204200
...entryObj,
205201
},
206202
output: {
203+
clean: false,
207204
// The build folder.
208205
path: paths.appBuild,
209206
// Add /* filename */ comments to generated require()s in the output.

tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"allowJs": true,
66
"pretty": true,
77
"declaration": false,
8-
"module": "nodenext",
9-
"moduleResolution": "nodenext",
8+
"module": "ESNext",
9+
"moduleResolution": "Bundler",
1010
"preserveSymlinks": true,
1111
"importHelpers": false,
1212
"strict": true,

0 commit comments

Comments
 (0)