scalacenter / scalajs-bundler

https://scalacenter.github.io/scalajs-bundler
Other
235 stars 101 forks source link

The Strict Mode emitted by Scala.js is not always preserved #407

Open sjrd opened 3 years ago

sjrd commented 3 years ago

Originally submitted as https://github.com/scala-js/scala-js/issues/4305

Failing test available in https://github.com/scalacenter/scalajs-bundler/compare/master...sjrd:preserve-strict-mode

We should make sure that the produced .js files all start with

'use strict';