FabiansGeikinsSpeckle
How to stop build hashes from changing between environments?
The differences I have between the 2 CI step environments:
- Project is stored at different locations in the filesystem
- One has git, the other one might not
- One runs in a docker image based on a slim node image, the other runs in a default CircleCI worker environment
7 replies
How to obfuscate/hash some of the build output file names?
@ArwanceR thanks that put me on the right path. I couldn't use those exact values tho, that broke the build, I think the prefix actually has to be
/_nuxt/
not /public
. I ended up just using the same approach the vite builder uses in its source code for asset file names:
4 replies
Rendering Nuxt error page when middleware throws in client-side
Doesn't appear that this is possible. You can set
fatal: true
, but the error page is going to render at the current route, not at the new one, and error.stackTrace
is rendered differently as well - when created during SSR it was HTML tags in it for proper styling2 replies
How to prevent NPM package from being loaded/ran twice in the client build?
I just noticed that there's actually only 1 file being downloaded, I'm guessing it shows up as 2 in the search because of sourcemaps or something? But this single .js file seems to have the entire
prosemirror-state
package appearing twice13 replies