andreypopp/webpack-package-loaders-plugin
在 GitHub 查看Handle loader query in JSON object format
Open
#3 创建于 2016年3月23日
enhancementhelp wanted
仓库指标
- Star
- (25 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
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.