webpack-loader-helper
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

webpack-loader-helper

Helper function to define use rules for webpack configuration

INSTALL

npm install --save-dev webpack-loader-helper

USAGE

import { loader } from 'webpack-loader-helper';
loader('css', { sourceMap: true }); // => { loader: 'css-loader', options: { sourceMap: true } }

API

loader(name: string, options?: any) => { loader: string, options: any}

CHANGELOG

See CHANGELOG

Package Sidebar

Install

npm i webpack-loader-helper

Weekly Downloads

12

Version

1.0.0

License

MIT

Unpacked Size

6.03 kB

Total Files

6

Last publish

Collaborators

  • iamthes