Closed vicb closed 5 months ago
The vite.config.ts
file in the apps/fxc-front
directory was updated to enhance configuration flexibility and improve testing capabilities. The defineConfig
function now leverages type UserConfig
and the configuration object is conditionally constructed based on the mode
parameter. Furthermore, the test
section has been enriched with additional properties such as environment
and include
.
File | Change Summary |
---|---|
apps/fxc-front/vite.config.ts |
Updated defineConfig with type UserConfig , added parameterized function for mode , expanded test section with new properties. |
In the code's leafy glen, a change is here, For
vite.config.ts
lends its ear, Tomode
andUserConfig
in harmony, Testing now with greater armory. So raise a toast, to progress bright, In code’s ever-evolving light.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This pull request updates the Vite configuration for the 'fxc-front' application. The main change is the introduction of a function-based configuration to dynamically set the 'process.env.NODE_ENV' based on the build mode. Additionally, the configuration has been refactored for better readability and maintainability.
Files | Changes |
---|---|
apps/fxc-front/vite.config.ts |
Refactored Vite configuration to use a function-based approach and dynamically set 'process.env.NODE_ENV' based on the build mode. |
Summary by Sourcery
Refactored the Vite configuration to dynamically set 'process.env.NODE_ENV' based on the build mode, improving the flexibility and maintainability of the build setup.
Summary by CodeRabbit