Update url-loader requirement from ^1.1.2 to ^2.0.0 in /{{cookiecutter.app_name}} (#498)

master
dependabot-preview[bot] 6 years ago committed by GitHub
parent fb75d2d485
commit 5d7f8ab303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      {{cookiecutter.app_name}}/package.json
  2. 2
      {{cookiecutter.app_name}}/webpack.config.js

@ -45,7 +45,7 @@
"raw-loader": "^3.0.0", "raw-loader": "^3.0.0",
"style-loader": "^0.23.1", "style-loader": "^0.23.1",
"sync-exec": "^0.6.2", "sync-exec": "^0.6.2",
"url-loader": "^1.1.2", "url-loader": "^2.0.0",
"webpack-cli": "^3.3.2", "webpack-cli": "^3.3.2",
"webpack-dev-server": "^3.5.1", "webpack-dev-server": "^3.5.1",
"webpack": "^4.33.0" "webpack": "^4.33.0"

@ -66,7 +66,7 @@ module.exports = {
], ],
}, },
{ test: /\.html$/, loader: 'raw-loader' }, { test: /\.html$/, loader: 'raw-loader' },
{ test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: 'url-loader?limit=10000&mimetype=application/font-woff' }, { test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: 'url-loader', options: { limit: 10000, mimetype: 'application/font-woff' } },
{ test: /\.(ttf|eot|svg|png|jpe?g|gif|ico)(\?.*)?$/i, { test: /\.(ttf|eot|svg|png|jpe?g|gif|ico)(\?.*)?$/i,
loader: `file-loader?context=${rootAssetPath}&name=[path][name].[hash].[ext]` }, loader: `file-loader?context=${rootAssetPath}&name=[path][name].[hash].[ext]` },
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader', query: { presets: ['env'], cacheDirectory: true } }, { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader', query: { presets: ['env'], cacheDirectory: true } },

Loading…
Cancel
Save