Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- const WebpackIsomorphicToolsPlugin = require('webpack-isomorphic-tools/plugin');
- const webpackIsomorphicToolsPlugin = new WebpackIsomorphicToolsPlugin(require('./webpack-isomorphic-tools-configuration'))
- .development();
- ...
- module.exports = {
- ...,
- module: {
- ...,
- {
- oneOf: [
- {
- test: webpackIsomorphicToolsPlugin.regularExpression('images'),
- loader: 'url-loader?limit=10240'
- }
- ]
- },
- ...
- },
- ...,
- plugins: [
- ...,
- webpackIsomorphicToolsPlugin
- ],
- ...
- };
Add Comment
Please, Sign In to add comment