iview / iview/iview-loader

如何在 webpack2.3版本中配置啊

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.