tweak renderer webpack config

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2020-12-29 08:55:45 +02:00
1 parent a0134dafb4
commit 23f6698c10
1 file changed
+3 -6
+3 -6
View File
@@ -48,7 +48,8 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
}, },
stats: { stats: {
warningsFilter: [ warningsFilter: [
/Critical dependency: the request of a dependency is an expression/ /Critical dependency: the request of a dependency is an expression/,
/export '.*' was not found in/
] ]
}, },
resolve: { resolve: {
@@ -86,11 +87,7 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
use: { use: {
loader: "ts-loader", loader: "ts-loader",
options: { options: {
transpileOnly: true, transpileOnly: true, // ForkTsCheckerPlugin does type-checking
compilerOptions: {
target: "es2016",
module: "esnext",
},
} }
} }
}, },