csstools / postcss-normalize

Use the parts of normalize.css (or sanitize.css) you need from your browserslist
Creative Commons Zero v1.0 Universal
816 stars 40 forks source link

Sourcemaps broken #1

Closed codepunkt closed 7 years ago

codepunkt commented 9 years ago

Wenn using this with postcss-loader and webpack, source maps are broken regardless of the order i put this in comparison to the other postcss plugins. as soon as i stop using it, sourcemaps are fine.

postcss: function() {
  return [
    require('postcss-normalize'),
    require('autoprefixer-core'),
    require('csswring')
  ];
}
madeleineostoja commented 9 years ago

hrmm not sure what’s going on here. Will have to look more into how PostCSS handles sourcemaps with .prepend(), and how webpack does things.

codepunkt commented 9 years ago

I'm not sure either. Would be nice if you looked into it - i'm afraid i don't find the time atm :(

madeleineostoja commented 7 years ago

FYI this package is being deprecated (see #9). Use postcss-import instead.