Add spinner and fix og-image
This commit is contained in:
parent
b55e927a34
commit
f6f54483db
9 changed files with 65 additions and 14 deletions
|
|
@ -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]',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue