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:
parent
a0134dafb4
commit
23f6698c10
@ -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",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user