@arted/stand-loader
v0.0.102
Published
stand in modules for webpack
Downloads
5
Readme
stand-loader
stand in modules for webpack
Installation
npm
$ npm install -g @arted/stand-loader
or yarn
$ yarn global add @arted/stand-loader
Usage
// webpack.config.js
const standloader = require('@arted/stand-loader');
module.exports = {
...
module: {
rules: [
...
standLoader({
test: '/path/to/module.js'
...
})
]
}
};
// app.js
import mod from '@arted/stand-loader?name=test';