Add spinner and fix og-image

This commit is contained in:
schmelczerandras 2020-10-24 11:02:44 +02:00
parent b55e927a34
commit f6f54483db
9 changed files with 65 additions and 14 deletions

View file

@ -18,7 +18,6 @@ module.exports = {
},
},
plugins: [
// Cleans the dist folder before the build starts
new CleanWebpackPlugin(),
new MiniCssExtractPlugin(),
new HtmlWebpackPlugin({
@ -74,16 +73,20 @@ module.exports = {
],
},
{
test: /\.svg/,
test: /\.svg$/,
use: {
loader: 'svg-url-loader',
options: {},
},
},
{
test: /\.(png)$/,
test: /\.png$/,
use: {
loader: 'file-loader',
query: {
outputPath: '/',
name: '[name].[ext]',
},
},
},
],