Skip to content

Commit 54a644e

Browse files
committed
Add exec parameter docs
1 parent 66770e5 commit 54a644e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,15 @@ export default {
290290
}
291291
```
292292

293+
If you use JS styles without `postcss-js` parser, you can add `exec` parameter:
294+
295+
```js
296+
{
297+
test: /\.style.xyz$/,
298+
loader: "style-loader!css-loader!postcss-loader?parser=custom-parser&exec"
299+
}
300+
```
301+
293302
## Webpack Events
294303

295304
Webpack provides webpack-plugin developers a convenient way

0 commit comments

Comments
 (0)