chore(frontend+infra): optimize build process and exclude SQLite workers from minification
- Updated Webpack config to exclude SQLite workers from parsing and Terser minification, fixing related errors and improving build speed. - Adjusted Dockerfile to disable source maps for production builds, reducing build time and memory usage. - Modified Gradle build configuration to respect the `noSourceMaps` flag during Docker builds.
This commit is contained in:
@@ -39,6 +39,11 @@ kotlin {
|
||||
KotlinWebpackConfig.Mode.PRODUCTION
|
||||
else
|
||||
KotlinWebpackConfig.Mode.DEVELOPMENT
|
||||
|
||||
// Source Maps Optimierung für Docker Builds
|
||||
if (project.hasProperty("noSourceMaps")) {
|
||||
sourceMaps = false
|
||||
}
|
||||
}
|
||||
|
||||
webpackTask {
|
||||
|
||||
Reference in New Issue
Block a user