webpack.config.js
// Here we set the Content-Type header for the gzipped files to their appropriate values, so the browser can interpret them properly
Here we set the Content-Type header for the gzipped files to their appropriate values, so the browser can interpret them properly
Here we set the Content - Type header for the gzipped files to their appropriate values so the browser can interpret them properly
ContentType(fileName) {
                if (/\.css/.test(fileName)) {
                  return 'text/css'
                }
                if (/\.js/.test(fileName)) {
                  return 'text/javascript'
                }
              }
ContentType ( fileName ) { if ( / \.css / . test ( fileName ) ) { return 'text/css' } if ( / \.js / . test ( fileName ) ) { return 'text/javascript' } }
Here we set the Content-Type header for the gzipped files to their appropriate values, so the browser can interpret them properly
Here we set the Content - Type header for the gzipped files to their appropriate values so the browser can interpret them properly