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

postcss-loader

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-loader - npm Package Compare versions

Comparing version 0.10.1 to 0.11.0

3

CHANGELOG.md

@@ -0,1 +1,4 @@

## 0.11
* Add `postcss-loader-before-processing` webpack event (by Jan Nicklas).
## 0.10.1

@@ -2,0 +5,0 @@ * Better syntax error message (by Andrey Popp).

@@ -88,2 +88,9 @@ var formatCodeFrame = require('babel-code-frame');

// Allow plugins to add or remove postcss plugins
plugins = this._compilation.applyPluginsWaterfall(
'postcss-loader-before-processing',
[].concat(plugins),
params
);
postcss(plugins).process(source, opts)

@@ -90,0 +97,0 @@ .then(function (result) {

2

package.json
{
"name": "postcss-loader",
"version": "0.10.1",
"version": "0.11.0",
"description": "PostCSS loader for webpack",

@@ -5,0 +5,0 @@ "keywords": ["webpack", "loader", "css", "postcss", "postcss-runner"],

@@ -215,2 +215,3 @@ # PostCSS for Webpack [![Build Status][ci-img]][ci]

[CSS Modules]: https://github.com/webpack/css-loader#css-modules
## Custom Syntaxes

@@ -256,3 +257,2 @@

### JS Styles

@@ -295,2 +295,14 @@

[postcss-js]: https://github.com/postcss/postcss-js
## Webpack Events
Webpack provides webpack-plugin developers a convenient way
to hook into the build pipeline. The postcss-loader makes us
of this event system to allow building integrated postcss-webpack tools.
See the [example implementation].
* `postcss-loader-before-processing`
is fired before processing and allows to add or remove postcss plugins
[example implementation]: https://github.com/postcss/postcss-loader/blob/master/test/webpack-plugins/rewrite.js
[postcss-js]: https://github.com/postcss/postcss-js
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