[Feature]: output.assetPrefix support to configure different values according to different types #691
chenjinxinlove
started this conversation in
General
Replies: 1 comment
-
We can not implement this feature yet, because the If Rspack supports Can you submit an issue for Rspack to support |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What problem does this feature solve?
output.assetPrefix now supports configuring only one value, but sometimes the cnd address of js and the cnd address of an image are different. Different cdn prefixes need to be configured according to different types.
What does the proposed API look like?
output:{
assetPrefix: {
js: 'cdn1',
css: 'cdn1',
image: 'cdn2'
}
}
Beta Was this translation helpful? Give feedback.
All reactions