Minor changes and add favicon
This commit is contained in:
parent
34dae300da
commit
e7f9007b23
18 changed files with 28 additions and 44 deletions
|
|
@ -7,8 +7,6 @@ const TerserJSPlugin = require('terser-webpack-plugin');
|
|||
const HtmlWebpackInlineSourcePlugin = require('html-webpack-inline-source-plugin');
|
||||
const Sass = require('sass');
|
||||
|
||||
//const FaviconsWebpackPlugin = require('favicons-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
devServer: {
|
||||
host: '0.0.0.0',
|
||||
|
|
@ -34,9 +32,6 @@ module.exports = {
|
|||
],
|
||||
}),
|
||||
|
||||
//new FaviconsWebpackPlugin('static/logo.svg'),
|
||||
// Multi threading typescript loader configuration with caching for .ts and .tsx files
|
||||
// see https://github.com/namics/webpack-config-plugins/tree/master/packages/ts-config-webpack-plugin/config
|
||||
new TsConfigWebpackPlugin(),
|
||||
],
|
||||
optimization: {
|
||||
|
|
@ -80,7 +75,7 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
{
|
||||
test: /\.mp3$/,
|
||||
test: /\.(mp3|png)$/,
|
||||
use: {
|
||||
loader: 'file-loader',
|
||||
query: {
|
||||
|
|
@ -89,6 +84,16 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
test: /\.ico$/,
|
||||
use: {
|
||||
loader: 'file-loader',
|
||||
query: {
|
||||
outputPath: '/',
|
||||
name: '[name].[ext]',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
test: /og-image.png$/,
|
||||
use: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue