vite-plugin-federation icon indicating copy to clipboard operation
vite-plugin-federation copied to clipboard

output filename can't be rename

Open Li-Jiacong opened this issue 3 years ago • 3 comments

after vite build , the output files about mf are named '_federation_shared[sharedPackageName].js', how can i modify them

Li-Jiacong avatar Feb 23 '22 07:02 Li-Jiacong

Sorry, there are no configuration items that can modify this part yet, but why do you need to change their names?

Jiannan-dev avatar Feb 23 '22 08:02 Jiannan-dev

Sorry, there are no configuration items that can modify this part yet, but why do you need to change their names?

Because I need to upload the files after building to CDN, and the CDN server which i want to request has some strategies including can't resolve the path has special character(such as @、!)

Li-Jiacong avatar Feb 24 '22 12:02 Li-Jiacong

May provide functions or expressions to profile names, temporarily added to the 2022 H1 program

Jiannan-dev avatar Mar 02 '22 06:03 Jiannan-dev