-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom output rollup configuration is overhidden by the default configuration #1410
Comments
Can you elaborate on why you need to customise these filenames? |
We need to register the assets in our micro-frontend application and it's easier with static file names. So, we tried to remove the hash and simplify paths. But, well, It's more about the point that we can configure them in the svelte config file but the config is not applied than our usage. |
It sounds like what you really need is access to the manifest Vite generates linking source files to their built counterparts? |
Hello guys, it doesn't seem to be fixed with this issue #1572. I've just installed the last
|
This comment was marked as duplicate.
This comment was marked as duplicate.
I was able to achieve this by writing a Vite plugin, however it didn't work for assets. See this discussion. |
It would also be great if we could obfuscate filenames. |
Describe the bug
In the svelte configuration file when we try to set the assetFileNames or chunkFileNames in output rollup, this is overhidden by the default configuration
To Reproduce
Set a assetFileNames in the rollup options and check the assets files.
Expected behavior
The configuration set in the svelte configuration file must be used.
Information about your SvelteKit Installation:
Next version: 103
Severity
Blocking our usage of SvelteKit: declare static asset files in the micro-frontend application
Additional context
This portion of code seems to be the origin of the issue:
kit/packages/kit/src/core/build/index.js
Line 149 in 57efb03
The text was updated successfully, but these errors were encountered: