mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
tweak ts-loader options
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
9026cee40d
commit
a0134dafb4
@ -122,7 +122,7 @@ export class InfoPanel extends Component<Props> {
|
||||
{showSubmitClose && (
|
||||
<Button
|
||||
primary active
|
||||
label="{submitLabel} & Close"
|
||||
label={`${submitLabel} & Close`}
|
||||
onClick={submitAndClose}
|
||||
disabled={isDisabled}
|
||||
/>
|
||||
|
||||
@ -83,7 +83,16 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
|
||||
{
|
||||
test: /\.tsx?$/,
|
||||
exclude: /node_modules/,
|
||||
use: "ts-loader"
|
||||
use: {
|
||||
loader: "ts-loader",
|
||||
options: {
|
||||
transpileOnly: true,
|
||||
compilerOptions: {
|
||||
target: "es2016",
|
||||
module: "esnext",
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.(jpg|png|svg|map|ico)$/,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user