var WebpackIsomorphicToolsPlugin = require('webpack-isomorphic-tools/plugin'); // see this link for more info on what all of this means // https://github.com/halt-hammerzeit/webpack-isomorphic-tools module.exports = { // when adding "js" extension to asset types // and then enabling debug mode, it may cause a weird error: // // [0] npm run start-prod exited with code 1 // Sending SIGTERM to other processes.. // // debug: true, assets: { images: { extensions: ['jpeg', 'jpg', 'png', 'gif'], parser: WebpackIsomorphicToolsPlugin.url_loader_parser, }, fonts: { extensions: ['woff', 'woff2', 'ttf', 'eot'], parser: WebpackIsomorphicToolsPlugin.url_loader_parser, }, svg: { extension: 'svg', parser: WebpackIsomorphicToolsPlugin.url_loader_parser, }, // this whole "bootstrap" asset type is only used once in development mode. // the only place it's used is the Html.js file // where a