Revert swc change due to prod crash

This commit is contained in:
David Edmondson
2021-09-04 17:45:30 -07:00
parent 05f3b1c390
commit 8501c9bb1b
4 changed files with 55 additions and 48 deletions
+2 -20
View File
@@ -109,32 +109,14 @@ module.exports = (env, argv) => {
rules: [
{
test: /\.tsx?$/,
loader: "ts-loader",
exclude: /node_modules/,
use: {
loader: "swc-loader",
options: {
jsc: {
parser: {
syntax: "typescript",
tsx: true,
},
},
},
},
},
{
test: /\.(jsx)$/,
exclude: /node_modules/,
use: {
loader: "swc-loader",
options: {
jsc: {
parser: {
syntax: "ecmascript",
jsx: true,
},
},
},
loader: "babel-loader",
},
},
{