rich-text
rich-text copied to clipboard
Include src folder in npm package
React scripts 5.0.0 fails to include the TypeScript source file of the @contentful/richt-text-types. It refers to the source folder for each type, and this folder is not being included in the npm package. Please include this in the published package or change the sourceMap.
Same problem, using Sveltekit.
Sourcemap for "/home/xxxyy/Projects/xxxyy/xxxyy/node_modules/@contentful/rich-text-types/dist/index.js" points to missing source files
4:56:15 PM [vite] Error when evaluating SSR module /node_modules/@contentful/rich-text-types/dist/index.js?v=318de71d:
ReferenceError: exports is not defined
at eval (/node_modules/@contentful/rich-text-types/dist/index.js?v=318de71d:29:23)
at instantiateModule (/home/xxxyy/Projects/xxxyy/xxxyy/node_modules/vite/dist/node/chunks/dep-f5552faa.js:60105:15)
Would be very grateful if this could be prioritized, sounds like a rather quick fix
Same here. I seems that it doesn't works since 15.9.0.
indeed this would be helpful
+1