Skip to content

Commit

Permalink
fix(babel-vite): Also transform jsx Cell files
Browse files Browse the repository at this point in the history
  • Loading branch information
dac09 committed Apr 7, 2023
1 parent 2e9ae55 commit 7911feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/internal/src/build/babel/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const getWebSideOverrides = (
) => {
const overrides = [
{
test: /.+Cell.(js|tsx)$/,
test: /.+Cell.(js|tsx|jsx)$/,
plugins: [require('../babelPlugins/babel-plugin-redwood-cell').default],
},
// Automatically import files in `./web/src/pages/*` in to
Expand Down

0 comments on commit 7911feb

Please sign in to comment.