evbo

Results 191 comments of evbo

and related to https://github.com/scalacenter/scalajs-bundler/issues/338 which was closed because I presumed the PR would get merged, but it never did - shame on me :)

Also, @ptrdom did you try `sbt publishLocal` with your fork? I tried it and my project failed to resolve it as a dependency due to `scalajs-bundler-linker` not getting published locally....

in ./project/plugins.sbt: ```scala addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.5.1") addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.20.0") addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") ``` in your build.sbt: ```scala version in webpack := "4.44.2", version in...

I'm not sure but I may have found a simple work around: Place `package-lock.json` in `src/main/resources` and then copy those assets: webpackResources := resourceDirectory.in(Compile).value ** "*" filter { _.isFile }...

I think the only remaining "nice to have" implementation detail would be the one you mentioned in your earlier comment - for changes to package.json _that override_ package-lock.json to be...

@vhiairrassary I am now learning that `npm ci` is the most certain way to build using a package-lock.json file. Have you ever tried running that command through scalajs-bundler? https://github.com/scalacenter/scalajs-bundler/issues/406

@vhiairrassary I just had a weird outcome where package-lock is getting generated that contained old dependencies after I removed them all from my build.sbt. **UPDATE** I realize now what is...

@ngbinh I agree with @mkotsbak why not consider adopting vite instead of just esbuild? vite would give a double benefit of bringing the speed of esbuild but also enabling code-splitting...

@ptrdom I am similarly getting an error due to `loc` in `WebpackError` being optional as well. I think this was caused by the JS library `weeknumber` (1.2.1) having some funny...

would love to test out the [latest RC](https://github.com/scalacenter/scalajs-bundler/releases/tag/v0.21.0-RC1) which contains webpack 5 support. Any instructions on how to manually build scalajs-bundler?