Skip to content

Commit

Permalink
fix issue with not loading images on production
Browse files Browse the repository at this point in the history
  • Loading branch information
drillprop committed Dec 4, 2019
1 parent d934523 commit b63f55b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 39 deletions.
49 changes: 13 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"scripts": {
"start": "webpack-dev-server --open --config webpack.dev.js",
"build": "webpack --mode production --config webpack.prod.js",
"deploy": "gh-pages -d dist",
"publish-demo": "npm run build && npm run deploy"
"predeploy": "npm run build",
"deploy": "gh-pages -d dist"
},
"keywords": [],
"author": "",
Expand Down
1 change: 0 additions & 1 deletion webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ module.exports = webpackMerge(common, {
{
test: /\.(png|jpe?g|gif)$/,
use: [
'file-loader',
{
loader: 'image-webpack-loader',
options: {
Expand Down

0 comments on commit b63f55b

Please sign in to comment.