andreypopp/webpack-package-loaders-plugin

Handle loader query in JSON object format

Open

#3 geöffnet am 23. März 2016

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (4 Forks)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (25 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

It would be nice if this plugin supported the object-style configuration of loader queries. For example:

{
  "webpack": {
    "loaders": [{
      "loader": "babel-loader",
      "test": "**/*.js",
      "query": {
        "plugins": [
          "transform-object-rest-spread"
        ],
        "presets": [
          "es2015",
          "react"
        ]
      }
    }]
  }
}

If this is something you'd like to support, I could take a stab at the implementation.

Contributor Guide