path-replace-map-loader

0.0.1 • Public • Published

path-replace-map-loader

Path replace loader for webpack use map. Great for gulp building.

Installation

npm install path-replace-map-loader --save-dev

Usage

Before running webpack, you must define a global variable named __PATH_REPLACE_MAP like below:

{
    "a.styl": "xxx.css",
    "b.styl": "xxxx.css"
}
loaders: [
    {
        test: /\.styl$/,
        loader: 'style-loader!css-loader!path-replace-map-loader'
    }
]

Readme

Keywords

none

Package Sidebar

Install

npm i path-replace-map-loader

Weekly Downloads

3

Version

0.0.1

License

ISC

Last publish

Collaborators

  • javey