auto-ext-loader
v0.0.1
Published
Automatically load another file with same base name when required
Downloads
1
Readme
auto-ext-loader
Automatically loads another module by its extension when a module is required
Usage
Suppose you want to auto load a file.scss everytime you load a file.js
module: {
loaders: [{
test: /\.js$/,
loader: 'auto-ext-loader',
query: {
exts: [ '.scss', '.css' ]
}
}]
}