Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有比较好的支持sass的方案吗? #21

Open
lmw6412036 opened this issue Nov 20, 2018 · 2 comments
Open

有比较好的支持sass的方案吗? #21

lmw6412036 opened this issue Nov 20, 2018 · 2 comments

Comments

@lmw6412036
Copy link

No description provided.

@imyelo
Copy link
Member

imyelo commented Nov 25, 2018

使用 sass-loader 正常地配置 webpack 即可。

参考:

@callmesoul
Copy link
Contributor

// webpack.config.js

{
        test: /\.(css|wxss|scss)$/,
        exclude: /node_modules/,
        use: [
          loaders.style,
          {
            loader:'sass-loader',
            options: {
              sourceMap: true
            }
          }
        ],
      },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants