Skip to content

Commit 7a6a767

Browse files
committed
Fix the doc for using OutputPatterns.
1 parent e0c0001 commit 7a6a767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/project/module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ scalaJSLinkerConfig ~= {
229229
// Enable ECMAScript module output.
230230
_.withModuleKind(ModuleKind.ESModule)
231231
// Use .mjs extension.
232-
.withOutputPatterns(OutputPatterns.fromJSFile(".mjs"))
232+
.withOutputPatterns(OutputPatterns.fromJSFile("%s.mjs"))
233233
}
234234
{% endhighlight %}
235235

0 commit comments

Comments
 (0)