BuilderIO / partytown

Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
https://partytown.builder.io
MIT License
12.98k stars 429 forks source link

Error: Cannot find module '../integration/index.MODULE_EXT' #22

Closed jacobwise closed 2 years ago

jacobwise commented 2 years ago

Steps to reproduce:

  1. Clone this project
  2. npm install
  3. npm run dev

NPM 7.23.0 Node v14.8.0

Error output:

`error - Error: Cannot find module '../integration/index.MODULE_EXT' Require stack:

adamdbradley commented 2 years ago

Great, thanks for reporting issue! Should be fixed in the next release: https://github.com/BuilderIO/partytown/commit/8af2ac2758185cb81de3d75a1c18facabac32f09

(I'll also add some sanity checks to make sure the published files are good to go, thanks)

adamdbradley commented 2 years ago

https://github.com/BuilderIO/partytown/releases/tag/v0.0.7