Skip to content

Commit

Permalink
Babel only build
Browse files Browse the repository at this point in the history
  • Loading branch information
plesiecki committed Feb 28, 2022
1 parent ec838f9 commit ac4bedf
Show file tree
Hide file tree
Showing 4 changed files with 2,030 additions and 19,415 deletions.
14 changes: 8 additions & 6 deletions config/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,17 @@ const babelLoader = {
loader: "babel-loader",
options: {
presets: [
"@babel/preset-typescript",
["@babel/preset-env", {
modules: false
}],
["@babel/preset-react", {
development: false,
useBuiltIns: true,
}]
],
plugins: [
"@babel/plugin-proposal-class-properties"
]
}
};
Expand Down Expand Up @@ -59,12 +67,6 @@ module.exports = {
test: /\.tsx?$/,
use: [
babelLoader,
{
loader: "ts-loader",
options: {
configFile: "src/client/tsconfig.json"
}
}
]
},
{
Expand Down
Loading

0 comments on commit ac4bedf

Please sign in to comment.