Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-loader

Package Overview
Dependencies
Maintainers
4
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-loader - npm Package Versions

1
9

4.0.3

Diff

Changelog

Source

4.0.3 (2020-10-02)

Bug Fixes

  • PostCSS 8 plugin loading (e1b82fe)
  • error and warning messages (#485) (4b44e01)
evilebottnawi
published 4.0.2 •

Changelog

Source

4.0.2 (2020-09-15)

Bug Fixes

  • compatibility with postcss@8 (#479) (218b0f8)
evilebottnawi
published 4.0.1 •

Changelog

Source

4.0.1 (2020-09-08)

Bug Fixes

  • source map generation with the map option for postcss (#476) (6babeb1)
evilebottnawi
published 4.0.0 •

Changelog

Source

4.0.0 (2020-09-07)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 10.13
  • minimum supported webpack version is 4
  • postcss was moved to peerDependencies, you need to install postcss
  • PostCSS (plugins/syntax/parser/stringifier) options was moved to the postcssOptions option, please look at docs
  • sourceMap default value depends on the compiler.devtool option
  • the inline value was removed for the sourceMap option, please use { map: { inline: true, annotation: false } } to achieve this
  • source maps contain absolute paths in sources
  • loader output only CSS, so you need to use css-loader/file-loader/raw-loader to inject code inside bundle
  • exec option was renamed to the execute option
  • the config option doesn't support Object type anymore, config.path and config.ctx options were removed
  • argument in the config for Function notation (previously config.ctx) was changed, now it contains { file, mode, webpackLoaderContext }
  • loader context in the config was renamed from webpack to webpackLoaderContext

Features

  • message API for emit assets (#443) (e966ab9)
  • reuse AST from other loaders (#468) (9b75888)
  • allows to use config and loader options together, options from the loader takes precedence over the config, the plugins option from the config and options are merged (0eb5aaf)
  • postcssOptions options can be Function

Bug Fixes

Notes

  • you don't need ident option for loader
  • Object syntax for the plugin option is soft deprecated, please migrate on Array syntax (plugins: ['postcss-preset-env', ['cssnano', options]])

<a name="3.0.0"></a>

michael-ciniawsky
published 3.0.0 •

Changelog

Source

3.0.0 (2018-08-08)

Bug Fixes

  • index: add ast version (meta.ast) (f34954f)
  • index: emit warnings as an instance of {Error} (8ac6fb5)
  • options: improved ValidationError messages (549ea08)

Chores

  • package: update postcss v6.0.0...7.0.0 (dependencies) (#375) (daa0da8)

BREAKING CHANGES

  • package: requires node >= v6.0.0

<a name="2.1.6"></a>

michael-ciniawsky
published 2.1.6 •

Changelog

Source

2.1.6 (2018-07-10)

Bug Fixes

  • package: config memory leak, updates postcss-load-config v1.2.0...2.0.0 (dependencies) (0547b12)

<a name="2.1.5"></a>

michael-ciniawsky
published 2.1.5 •

Changelog

Source

2.1.5 (2018-05-04)

Bug Fixes

<a name="2.1.4"></a>

ai
published 2.1.4 •

Changelog

Source

2.1.4 (2018-04-16)

Bug Fixes

  • restore loader object in postcss config context (#355) (2ff1735)

<a name="2.1.3"></a>

ai
published 2.1.3 •

Changelog

Source

2.1.3 (2018-03-20)

Bug Fixes

  • options: revert additionalProperties changes to keep SemVer (bd7fc38)

<a name="2.1.2"></a>

michael-ciniawsky
published 2.1.2 •

Changelog

Source

2.1.2 (2018-03-17)

Bug Fixes

  • options: disallow additional properties and add ident to validation (#346) (82ef553)

<a name="2.1.1"></a>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc