From 54a644e657fc34c23f98938e4dc1007445a961c6 Mon Sep 17 00:00:00 2001 From: Andrey Sitnik Date: Thu, 8 Sep 2016 13:26:12 +1000 Subject: [PATCH] Add exec parameter docs --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 75bd4e1a..447485f4 100644 --- a/README.md +++ b/README.md @@ -290,6 +290,15 @@ export default { } ``` +If you use JS styles without `postcss-js` parser, you can add `exec` parameter: + +```js +{ + test: /\.style.xyz$/, + loader: "style-loader!css-loader!postcss-loader?parser=custom-parser&exec" +} +``` + ## Webpack Events Webpack provides webpack-plugin developers a convenient way