ViteBuildConfig¶
Properties¶
modulePreload¶
@get:Internal
abstract val modulePreload: Property<Boolean>
Whether to automatically inject a module preload polyfill.
Currently, does not support the resolveDependencies function.
Example
External resources
outDir¶
@get:Internal
abstract val outDir: DirectoryProperty
Output directory of the production build.
Example
External resources
target¶
Browser compatibility target for the final bundle.
For more information, see the official documentation.
Example
External resources