Added link=“prefetch” tags

This commit is contained in:
Jori Lallo
2018-01-21 22:24:10 -08:00
parent fa1b6f9b4f
commit bc403faa8e
6 changed files with 83 additions and 24 deletions

View File

@ -16,12 +16,13 @@ const developmentWebpackConfig = Object.assign(commonWebpackConfig, {
],
});
developmentWebpackConfig.plugins.push(new ExtractTextPlugin({ filename: 'styles.css' }));
developmentWebpackConfig.plugins.push(new webpack.HotModuleReplacementPlugin());
developmentWebpackConfig.plugins.push(
developmentWebpackConfig.plugins = [
...developmentWebpackConfig.plugins,
new ExtractTextPlugin({ filename: 'styles.css' }),
new webpack.HotModuleReplacementPlugin(),
new HtmlWebpackPlugin({
title: 'Outline',
})
);
}),
];
module.exports = developmentWebpackConfig;