Closed webmarkyn closed 6 months ago
Ah that's really wierd, thanks for opening this @webmarkyn. I changed some of the build config stuff in the last release so I've probably misconfigured something there. I'll take a look ASAP.
It's the np
lib used to generate releases doing this, during the "Git" or "Bumping version using npm" step it seems to run the tests even though it's configured to skip them. The tests use a different build to generate coverage so that's why the build output is borked. I'm a bit fed up with np and was already going to replace it #26 so will do that and get a working build out today.
Hello @nerdyman, have you managed to resolve it?
Sorry for the delay @webmarkyn, this has been fixed in 3.1.1
. I've tested it in a demo project and everything looks OK on unpkg too.
https://unpkg.com/browse/react-image-turntable@3.1.1/dist/index.mjs
Feel free to reopen this issue if you encounter any problems.
Hello @nerdyman. I was trying to install the new
3.1.0
version today and got the following error when trying to run the projectEvalError: Code generation from strings disallowed for this context
.dist/index.mjs
file looks strange and contains strings with absolute paths likeWhen I run
pnpm build
I get completely different output that's not even close to theindex.mjs
file that I get when installing a package fromnpm
.NPM VERSION
PNPM OUTPUT