Browse Source

Don’t let Webpack mangle static resources (#402)

pull/399/head
Paul Robert Lloyd 3 years ago committed by GitHub
parent
commit
a556b6190b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      webpack.config.js

4
webpack.config.js

@ -31,8 +31,8 @@ module.exports = {
use: ['babel-loader'], use: ['babel-loader'],
}, },
{ {
test: /\.(png|jpe?g|gif|eot|woff2|woff|ttf|svg|ico)$/i, test: /\.(png|jpe?g|gif|eot|woff|woff2|ttf|svg|ico)$/i,
use: 'file-loader', type: 'asset/resource'
}, },
{ {
test: /\.(scss|css)/i, test: /\.(scss|css)/i,

Loading…
Cancel
Save