1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

tweak renderer webpack config

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2020-12-29 08:19:37 +02:00
parent a0134dafb4
commit 23f6698c10

View File

@ -48,7 +48,8 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
},
stats: {
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: {
@ -86,11 +87,7 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
use: {
loader: "ts-loader",
options: {
transpileOnly: true,
compilerOptions: {
target: "es2016",
module: "esnext",
},
transpileOnly: true, // ForkTsCheckerPlugin does type-checking
}
}
},