Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

webpackExtraArgs is ignored #457

Open
doofin opened this issue Feb 19, 2023 · 0 comments
Open

webpackExtraArgs is ignored #457

doofin opened this issue Feb 19, 2023 · 0 comments

Comments

@doofin
Copy link

doofin commented Feb 19, 2023

I tried to set devtool = false in webpack config,but passing webpackExtraArgs := Seq("--devtool", "false") in sbt doesn't work and gives warning

there's a key that's not used by any other settings/tasks:
[warn]  
[warn] *  webpackExtraArgs

but using js config file it works :

var webpack = require('webpack');
module.exports = require('./scalajs.webpack.config');
// And then modify `module.exports` to extend the configuration
module.exports.devtool = false

with "ch.epfl.scala" % "sbt-scalajs-bundler" % "0.21.1"

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant