如何在 webpack2.3版本中配置啊
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 31
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
我的版本中, webpack.dev.conf.js中 rule 的配置格式是这样的.
`module.exports = merge(baseWebpackConfig, {
module: {
rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap })
},`
和咱们官网推广的格式不一样啊.请问我这个该怎么改动.
我是小白用户,请给个简单示例可以了 吗
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review webpack.dev.conf.js and the referenced rules configuration, then compare it with the format promoted on the official site. Determine what a webpack 2.3 user needs to change and document a simple compatible example; done means the configuration guidance covers the reported version difference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- build-system
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100