Jonghakseo / chrome-extension-boilerplate-react-vite

Chrome Extension Boilerplate with React + Vite + Typescript
MIT License
2.43k stars 357 forks source link

transforming (1) index.html(node:66640) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. #638

Closed IzaGz closed 3 months ago

IzaGz commented 3 months ago

During pnpm dev in some builds there is a warning:

transforming (1) index.html(node:66640) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:66640) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
Снимок экрана 2024-08-06 в 16 01 48
PatrykKuniczak commented 3 months ago

@IzaGz Works good for me, can you give us more info about your PC configuration?

IzaGz commented 3 months ago

node v22.5.1 on macos

PatrykKuniczak commented 3 months ago

@IzaGz Ok, thanks.

@Jonghakseo Can reproduce it, let's wait for his response 😄