Skip to content

Commit fef52cc

Browse files
authored
Merge pull request #534 from sjrd/fix-doc-outputpatterns
Fix the doc for using OutputPatterns.
2 parents e0c0001 + 7a6a767 commit fef52cc

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)