Skip to content

Commit

Permalink
Vite. Add naming for preparation tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
porotkin committed Nov 28, 2024
1 parent f890492 commit b936333
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package io.github.turansky.kfc.gradle.plugin

sealed class Bundler(
val productionPreparationTask: String,
val developmentPreparationTask: String,
val productionTask: String,
val developmentTask: String,
val configFile: String,
Expand All @@ -9,6 +11,8 @@ sealed class Bundler(
}

object Vite : Bundler(
productionPreparationTask = "jsBrowserProductionPreparationVite",
developmentPreparationTask = "jsBrowserDevelopmentPreparationVite",
productionTask = "jsBrowserProductionVite",
developmentTask = "jsBrowserDevelopmentVite",
// TODO: We need .mjs extension for now to enable connecting pure ESM plugins
Expand Down

0 comments on commit b936333

Please sign in to comment.