BuilderIO / partytown

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

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

Closed jacobwise closed 3 years ago

jacobwise commented 3 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 3 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 3 years ago

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