Closed afrokick closed 1 year ago
Please, check module.exportDefault and module.link in reify readme @Akryum https://github.com/benjamn/reify/blob/c9657a9fcb735b870c6c7ee6e95b1403517189e8/README.md#exports-that-are-really-imports
Please, check module.exportDefault and module.link in reify readme @Akryum benjamn/reify@
c9657a9
/README.md#exports-that-are-really-imports
Fixed in https://github.com/Akryum/meteor-vite/commit/a592eacca3851ad3e05c2a6e940085f2c9d2c82a (v0.1.5)
I'm still seeing the following error:
Uncaught SyntaxError: The requested module '/@id/__x00__meteor/react-meteor-data' does not provide an export named 'useTracker'
Environment:
I think, this issue #21 is the source of "The requested module..." error.
If you fork react-meteor-data and add the line export const A = 'A'
, it works.
Simple lazy package
package.js:
index.js:
add the package to your vite project:
meteor add test:lazy
Use it somewhere in your project:
main.ts:
Result
Browser error:
Uncaught SyntaxError: The requested module '/@id/__x00__meteor/test:lazy' does not provide an export named 'A'