Skip to content

Commit

Permalink
add loader for static files
Browse files Browse the repository at this point in the history
  • Loading branch information
korelstar committed Aug 23, 2020
1 parent 318c3ad commit 1a78f36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"sass-loader": "^8.0.2",
"stylelint": "^13.6.1",
"stylelint-webpack-plugin": "^2.1.0",
"url-loader": "^4.1.0",
"vue-loader": "^15.9.3",
"vue-template-compiler": "^2.6.11",
"webpack": "^4.43.0",
Expand All @@ -47,6 +48,7 @@
"sass-loader": "^8.0.2",
"stylelint": "^13.6.1",
"stylelint-webpack-plugin": "^2.1.0",
"url-loader": "^4.1.0",
"vue-loader": "^15.9.3",
"vue-template-compiler": "^2.6.11",
"webpack": "^4.43.0",
Expand Down
4 changes: 4 additions & 0 deletions webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ module.exports = {
loader: 'babel-loader',
exclude: /node_modules/,
},
{
test: /\.(png|jpg|gif|svg)$/,
loader: 'url-loader'
},
],
},
plugins: [
Expand Down

0 comments on commit 1a78f36

Please sign in to comment.