Images missing in webpack 4 (#535)

Fix for #509 courtesy of lamphej and brightgems.
master
Whiskey 5 years ago committed by James Curtin
parent c1a6296751
commit da0fa70a53
  1. 1
      {{cookiecutter.app_name}}/webpack.config.js

@ -80,6 +80,7 @@ module.exports = {
new ManifestRevisionPlugin(path.join(__dirname, '{{cookiecutter.app_name}}', 'webpack', 'manifest.json'), { new ManifestRevisionPlugin(path.join(__dirname, '{{cookiecutter.app_name}}', 'webpack', 'manifest.json'), {
rootAssetPath, rootAssetPath,
ignorePaths: ['/js', '/css'], ignorePaths: ['/js', '/css'],
extensionsRegex: /\.(ttf|eot|svg|png|jpe?g|gif|ico)$/i,
}), }),
].concat(debug ? [] : [ ].concat(debug ? [] : [
// production webpack plugins go here // production webpack plugins go here

Loading…
Cancel
Save