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

css-loader 0.27.3 adds ~20kb more than 0.26.2 to the bundle. Is that correct? #467

Closed
julenr opened this issue Mar 26, 2017 · 3 comments
Closed

Comments

@julenr
Copy link

julenr commented Mar 26, 2017

Do you want to request a feature or report a bug?

What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

If this is a feature request, what is motivation or use case for changing the behavior?

Please mention other relevant information such as your webpack version, Node.js version and Operating System.

@michael-ciniawsky
Copy link
Member

Its because if the Buffer polyfill included for sourcemaps conversion and will be fixed soon :) Duplicate of #454

@JackHowa
Copy link

JackHowa commented Dec 11, 2020

@michael-ciniawsky is it possible that I'm still seeing this issue with css-loader@2.1.1 ? I'm seeing that Buffer package in unused js. and I do not have the suggestion in yet?

    node: {
      Buffer: false
    },

https://github.com/webpack-contrib/css-loader/releases/tag/v2.1.1

@JackHowa
Copy link

@michael-ciniawsky @julenr have you seen this with css-loader recently

"webpack": "^4.32.2",
"css-loader": "^2.1.1",

          {
            test: /\.s?[ac]ss$/i,
            use: [
              {
                loader: 'css-loader',
                options: {
                  url: false
                }
              }
            ]
          },

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