Skip to content

Commit

Permalink
Adapt buildNpmJsFile task to the new Scala.js 1.x output
Browse files Browse the repository at this point in the history
  • Loading branch information
generalmimon committed Oct 22, 2023
1 parent afa7d02 commit 1fb8e72
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,8 @@ lazy val buildNpmJsFileTask = Def.task {
| }
|}(typeof self !== 'undefined' ? self : this, function () {
|
|var exports = {};
|var __ScalaJSEnv = { exportsNamespace: exports };
|
|$compiledFileContents
|
|return exports.MainJs;
|
|return MainJs;
|}));
|""".stripMargin

Expand Down

0 comments on commit 1fb8e72

Please sign in to comment.