Skip to content

Commit

Permalink
πŸ’₯ Bug: renaming Button.jsx to Button.js leads to an error
Browse files Browse the repository at this point in the history
```
✘ [ERROR] This experimental syntax requires enabling one of the following parser plugin(s): "jsx", "flow", "typescript". (4:9) [plugin css-side-effects-plugin]

    app/routes/_index.jsx:1:19:
      1 β”‚ import Button from "../components/Button";
        β•΅                    ~~~~~~~~~~~~~~~~~~~~~~

  This error came from the "onLoad" callback registered here:

    node_modules/@remix-run/dev/dist/compiler/plugins/cssSideEffectImports.js:67:12:
      67 β”‚       build.onLoad({
         β•΅             ~~~~~~

    at setup (/home/xxxx/remix-issue-5331/node_modules/@remix-run/dev/dist/compiler/plugins/cssSideEffectImports.js:67:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at handlePlugins (/home/xxxx/remix-issue-5331/node_modules/esbuild/lib/main.js:1326:9)
```
  • Loading branch information
real34 committed May 3, 2023
1 parent 071f7de commit 31df97e
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 31df97e

Please sign in to comment.