Skip to content

Commit

Permalink
Scripts: Make it possible to transpile .jsx files with build command
Browse files Browse the repository at this point in the history
Closes #21009 based on the proposal from @cliffordp.
  • Loading branch information
gziolo committed Jan 5, 2021
1 parent 986f585 commit 3a4ee0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/scripts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

- `wordpress` subfolder is no longer ignored when detecting files for testing, linting or formatting.
- The bundled `eslint` dependency has been updated from requiring `^7.1.0` to requiring `^7.17.0` ([#27965](https://github.com/WordPress/gutenberg/pull/27965)).
- Make it possible to transpile `.jsx` files with `build` and `start` commands ([#28002](https://github.com/WordPress/gutenberg/pull/28002)).

### Internal

Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const config = {
module: {
rules: [
{
test: /\.js$/,
test: /\.jsx?$/,
exclude: /node_modules/,
use: [
require.resolve( 'thread-loader' ),
Expand Down

0 comments on commit 3a4ee0a

Please sign in to comment.