Skip to content

Commit

Permalink
Remove babel from script-modules build
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Sep 12, 2024
1 parent 9bdfebf commit 470abdf
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions tools/webpack/script-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,29 +102,6 @@ module.exports = {
resolve: {
extensions: [ '.js', '.ts', '.tsx' ],
},
module: {
rules: [
{
test: /\.(j|t)sx?$/,
exclude: /node_modules/,
use: [
{
loader: require.resolve( 'babel-loader' ),
options: {
cacheDirectory:
process.env.BABEL_CACHE_DIRECTORY || true,
babelrc: false,
configFile: false,
presets: [
'@babel/preset-typescript',
'@babel/preset-react',
],
},
},
],
},
],
},
plugins: [ ...plugins, new DependencyExtractionWebpackPlugin() ],
watchOptions: {
ignored: [ '**/node_modules' ],
Expand Down

0 comments on commit 470abdf

Please sign in to comment.