Beast-ORM icon indicating copy to clipboard operation
Beast-ORM copied to clipboard

docs: Exclude Beast ORM from optimizeDeps

Open mzaini30 opened this issue 5 months ago • 0 comments

In this commit, we exclude the "beast-orm" module from the optimizeDeps configuration in Vite. By doing so, we prevent Vite from optimizing the dependency, providing manual control over the optimization process for Beast ORM.

This exclusion is beneficial in cases where manual optimization is preferred or if there are issues related to the optimization of Beast ORM. Developers should ensure that the dependencies and their versions are compatible and up-to-date.

The configuration uses the defineConfig function to create a Vite configuration object. The optimizeDeps property is utilized to configure dependency optimization, and the "beast-orm" module is specified in the exclude array to indicate its exclusion from the optimization process.

Additionally, the Svelte plugin is included in the configuration through the plugins array. Developers can customize this configuration according to the specific requirements and dependencies of their project.

mzaini30 avatar Jan 18 '24 12:01 mzaini30