feature(package) url-loader v2.0.0

This commit is contained in:
coderaiser 2019-06-06 17:59:01 +03:00
parent d52fe75e43
commit 17498dbc07
2 changed files with 7 additions and 2 deletions

View file

@ -43,7 +43,12 @@ const rules = [{
}, },
...cssPlugins.map(extract), { ...cssPlugins.map(extract), {
test: /\.(png|gif|svg|woff|woff2|eot|ttf)$/, test: /\.(png|gif|svg|woff|woff2|eot|ttf)$/,
loader: 'url-loader?limit=100000', use: {
loader: 'url-loader',
options: {
limit: 100000,
},
},
}]; }];
module.exports = { module.exports = {

View file

@ -199,7 +199,7 @@
"supertape": "^1.0.3", "supertape": "^1.0.3",
"tar-stream": "^2.0.0", "tar-stream": "^2.0.0",
"unionfs": "^4.0.0", "unionfs": "^4.0.0",
"url-loader": "^1.0.1", "url-loader": "^2.0.0",
"version-io": "^2.0.1", "version-io": "^2.0.1",
"webpack": "^4.0.0", "webpack": "^4.0.0",
"webpack-cli": "^3.0.1", "webpack-cli": "^3.0.1",