andreypopp/webpack-package-loaders-plugin

Handle loader query in JSON object format

Open

#3 ouverte le 23 mars 2016

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (4 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (25 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur