Skip to content

Commit

Permalink
Switch to ES modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Vampire committed Oct 24, 2024
1 parent f6d56c4 commit 93c9f90
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ outputs:
runs:
using: node20
main: build/distributions/index.js
main: build/distributions/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ val libs = the<LibrariesForLibs>()

kotlin {
js {
useCommonJs()
useEsModules()
binaries.executable()
nodejs()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ val libs = the<LibrariesForLibs>()

kotlin {
js {
useCommonJs()
useEsModules()
binaries.executable()
nodejs()
}
Expand Down Expand Up @@ -109,7 +109,7 @@ artifacts {
it
.destinationDirectory
.get()
.resolve("${project.name}.js")
.resolve("${project.name}.mjs")
}
)
}
Expand Down

0 comments on commit 93c9f90

Please sign in to comment.