Helper function to define use rules for webpack configuration
npm install --save-dev webpack-loader-helper
import { loader } from 'webpack-loader-helper';
loader('css', { sourceMap: true }); // => { loader: 'css-loader', options: { sourceMap: true } }
loader(name: string, options?: any) => { loader: string, options: any}
See CHANGELOG