File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,10 +36,18 @@ dependencies {
3636 implementation(libs.ktor.http)
3737}
3838
39+ val distributionsDirName = " distributions"
40+
3941kotlin {
4042 js(IR ) {
4143 // as for `-pre.148-kotlin-1.4.21`, react-table gives errors with IR
4244 browser {
45+ distribution(
46+ Action {
47+ // TODO: need to remove this overriding
48+ outputDirectory = layout.buildDirectory.dir(distributionsDirName)
49+ }
50+ )
4351 testTask {
4452 useKarma {
4553 when (properties[" save.profile" ]) {
@@ -243,7 +251,7 @@ val distribution: Configuration by configurations.creating
243251val distributionJarTask by tasks.registering(Jar ::class ) {
244252 dependsOn(" :save-frontend:browserDistribution" )
245253 archiveClassifier.set(" distribution" )
246- from(" $buildDir /distributions " ) {
254+ from(" $buildDir /$distributionsDirName " ) {
247255 into(" static" )
248256 exclude(" scss" )
249257 }
You can’t perform that action at this time.
0 commit comments