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

Is it possible to add a configuration to set the packaged result directory

Open GOGOGOSIR opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Because my project packaging configuration distinguishes different files from being packaged into different file directories, not all of them are stored in the assets directory. Is it possible to add a configuration item to set the output directory of _federation and other files?

Describe the solution you'd like

Add a new configuration to the options of the federation function of index.ts to configure the name of the directory output after packaging, and then use the user-configured output directory first in the config function

image

GOGOGOSIR avatar Feb 28 '22 13:02 GOGOGOSIR

This is a function that needs to be done and has been added to the 2022 H1 plan

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