Skip to content

Commit

Permalink
Promote --js-es-module-import-map to stable (#3086)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gedochao authored Aug 9, 2024
1 parent 6503d2b commit 87b2f75
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ final case class ScalaJsOptions(

@Group(HelpGroup.ScalaJs.toString)
@HelpMessage("A file relative to the root directory containing import maps for ES module imports")
@Tag(tags.restricted)
@Tag(tags.should)
jsEsModuleImportMap: Option[String] = None,

@Group(HelpGroup.ScalaJs.toString)
Expand Down
6 changes: 6 additions & 0 deletions website/docs/reference/scala-command/cli-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,12 @@ Emit source maps

Set the destination path of source maps

### `--js-es-module-import-map`

`SHOULD have` per Scala Runner specification

A file relative to the root directory containing import maps for ES module imports

### `--js-dom`

`SHOULD have` per Scala Runner specification
Expand Down
36 changes: 36 additions & 0 deletions website/docs/reference/scala-command/runner-specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ Emit source maps

Set the destination path of source maps

**--js-es-module-import-map**

A file relative to the root directory containing import maps for ES module imports

**--js-dom**

Enable jsdom
Expand Down Expand Up @@ -933,6 +937,10 @@ Emit source maps

Set the destination path of source maps

**--js-es-module-import-map**

A file relative to the root directory containing import maps for ES module imports

**--js-dom**

Enable jsdom
Expand Down Expand Up @@ -1512,6 +1520,10 @@ Emit source maps

Set the destination path of source maps

**--js-es-module-import-map**

A file relative to the root directory containing import maps for ES module imports

**--js-dom**

Enable jsdom
Expand Down Expand Up @@ -2123,6 +2135,10 @@ Emit source maps

Set the destination path of source maps

**--js-es-module-import-map**

A file relative to the root directory containing import maps for ES module imports

**--js-dom**

Enable jsdom
Expand Down Expand Up @@ -2747,6 +2763,10 @@ Emit source maps

Set the destination path of source maps

**--js-es-module-import-map**

A file relative to the root directory containing import maps for ES module imports

**--js-dom**

Enable jsdom
Expand Down Expand Up @@ -3347,6 +3367,10 @@ Emit source maps

Set the destination path of source maps

**--js-es-module-import-map**

A file relative to the root directory containing import maps for ES module imports

**--js-dom**

Enable jsdom
Expand Down Expand Up @@ -3984,6 +4008,10 @@ Emit source maps

Set the destination path of source maps

**--js-es-module-import-map**

A file relative to the root directory containing import maps for ES module imports

**--js-dom**

Enable jsdom
Expand Down Expand Up @@ -4672,6 +4700,10 @@ Emit source maps

Set the destination path of source maps

**--js-es-module-import-map**

A file relative to the root directory containing import maps for ES module imports

**--js-dom**

Enable jsdom
Expand Down Expand Up @@ -5601,6 +5633,10 @@ Emit source maps

Set the destination path of source maps

**--js-es-module-import-map**

A file relative to the root directory containing import maps for ES module imports

**--js-dom**

Enable jsdom
Expand Down

0 comments on commit 87b2f75

Please sign in to comment.