add og:image

This commit is contained in:
Philipp Kühn
2018-08-26 20:04:40 +02:00
parent 6164bd6abd
commit 56bb2fb3b5
3 changed files with 16 additions and 1 deletions

View File

@@ -135,6 +135,20 @@ export default {
// 'process.env': {},
// }),
// copy static files
new CopyWebpackPlugin([
{
context: `${srcPath}/assets/static`,
from: { glob: '**/*', dot: false },
to: `${buildPath}/assets`,
},
{
context: `${srcPath}/assets/static`,
from: { glob: '**/*', dot: false },
to: `${buildPath}/assets/[path][name].[hash].[ext]`,
},
]),
// enable hot reloading
ifDev(new webpack.HotModuleReplacementPlugin()),