Fix favicon bug
This commit is contained in:
parent
58e9de2bfd
commit
6575e9bcf7
1 changed files with 11 additions and 10 deletions
|
|
@ -54,16 +54,7 @@ module.exports = (env, argv) => ({
|
|||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /no-change.*(ico|html|txt|png|webmanifest)$/i,
|
||||
use: {
|
||||
loader: 'file-loader',
|
||||
query: {
|
||||
outputPath: '/',
|
||||
name: '[name].[ext]',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
test: /\.(jpe?g|png)$/i,
|
||||
loader: 'responsive-loader',
|
||||
|
|
@ -122,6 +113,16 @@ module.exports = (env, argv) => ({
|
|||
test: /\.svg$/i,
|
||||
use: 'raw-loader',
|
||||
},
|
||||
{
|
||||
test: /no-change.*(ico|html|txt|png|webmanifest)$/i,
|
||||
use: {
|
||||
loader: 'file-loader',
|
||||
query: {
|
||||
outputPath: '/',
|
||||
name: '[name].[ext]',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
test: /\.scss$/i,
|
||||
use: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue