Skip to content

Commit

Permalink
Move npm settings to JS-only
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Nov 20, 2021
1 parent 2467995 commit 069aa5e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sbt
Expand Up @@ -75,6 +75,10 @@ lazy val core = crossProject(JVMPlatform, JSPlatform)
"org.typelevel" %%% "munit-cats-effect-3" % munitCatsEffectV % Test,
),

).jsSettings(
scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.CommonJSModule)},
scalaJSUseMainModuleInitializer := true,
scalaJSStage in Global := FullOptStage,
npmPackageAuthor := "Christopher Davenport",
npmPackageDescription := "Curl Command Line Parser which outputs http4s code",
npmPackageKeywords := Seq(
Expand All @@ -84,10 +88,6 @@ lazy val core = crossProject(JVMPlatform, JSPlatform)
),
npmPackageStage := Stage.FullOpt,
npmPackageBinaryEnable := true,
).jsSettings(
scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.CommonJSModule)},
scalaJSUseMainModuleInitializer := true,
scalaJSStage in Global := FullOptStage,
)

lazy val site = project.in(file("site"))
Expand Down

0 comments on commit 069aa5e

Please sign in to comment.