@@ -20,7 +20,7 @@ val fs2Version = "3.11.0"
2020
2121lazy val `json-log-viewer` = crossProject(JSPlatform , JVMPlatform )
2222 .in(file(" json-log-viewer" ))
23- // .jvmEnablePlugins(JavaAppPackaging)
23+ .jvmEnablePlugins(JavaAppPackaging )
2424 .settings(
2525 name := " json-log-viewer" ,
2626 organization := " ru.d10xa" ,
@@ -35,6 +35,8 @@ lazy val `json-log-viewer` = crossProject(JSPlatform, JVMPlatform)
3535 " io.circe" %%% " circe-core" % circeVersion,
3636 " io.circe" %%% " circe-literal" % circeVersion % Test ,
3737 " io.circe" %%% " circe-parser" % circeVersion,
38+ " io.circe" %%% " circe-generic" % circeVersion,
39+ " io.circe" %%% " circe-yaml-scalayaml" % " 0.16.0" ,
3840 " com.lihaoyi" %%% " fansi" % " 0.5.0" ,
3941 " org.scala-lang.modules" %%% " scala-parser-combinators" % " 2.4.0" ,
4042 " org.scalameta" %% " munit" % " 0.7.29" % Test
@@ -47,9 +49,7 @@ lazy val `json-log-viewer` = crossProject(JSPlatform, JVMPlatform)
4749 )
4850 .jsSettings(
4951 publish / skip := true ,
50- scalaJSUseMainModuleInitializer := true ,
5152 fork := false ,
52- scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind .CommonJSModule ) }
5353 )
5454
5555lazy val `make-logs` = project
@@ -79,8 +79,9 @@ lazy val `frontend-laminar` = project
7979 " com.github.plokhotnyuk.jsoniter-scala" %%% " jsoniter-scala-core" % " 2.28.4" ,
8080 " com.github.plokhotnyuk.jsoniter-scala" %% " jsoniter-scala-macros" % " 2.28.4" % " provided"
8181 ),
82- Compile / fastOptJS / scalaJSLinkerConfig ~= { _.withSourceMap(false ) },
83- Compile / fullOptJS / scalaJSLinkerConfig ~= { _.withSourceMap(true ) },
82+ Compile / fastLinkJS / scalaJSLinkerConfig ~= { _.withSourceMap(true ) },
83+ Compile / fullLinkJS / scalaJSLinkerConfig ~= { _.withSourceMap(true ) },
84+ scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind .CommonJSModule ) },
8485 scalaJSUseMainModuleInitializer := true ,
8586 (Test / requireJsDomEnv) := true ,
8687 useYarn := true
0 commit comments