Skip to content

webpackExtraArgs is ignored #457

Description

@doofin

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions