Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3
localjo/shell-loader
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
AWebpack loader for running arbitrary shell scripts when loading files.
npm install --save-dev shell-loader
Add shell-loader your Webpack configuration object, settingoptions.script to the shell script you want to run on each file. Example;
module:{rules:[{test:/.*\.css$/,use:['css-loader',{loader:'shell-loader',options:{script:'postcss --use autoprefixer'}}]}]}
About
A Webpack loader that runs an arbitrary script on matching files
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.