Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Webpack loader that runs an arbitrary script on matching files

NotificationsYou must be signed in to change notification settings

localjo/shell-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM Status

Shell Loader

AWebpack loader for running arbitrary shell scripts when loading files.

Install

npm install --save-dev shell-loader

Usage

Documentation: Using loaders

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

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp