andreypopp/webpack-package-loaders-plugin
View on GitHubHandle loader query in JSON object format
Open
#3 opened on Mar 23, 2016
enhancementhelp wanted
Repository metrics
- Stars
- (25 stars)
- PR merge metrics
- (No merged PRs in 30d)
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.