add lodash features we were using

This commit is contained in:
Nolan Lawson 2018-03-16 23:38:28 -07:00
parent 507f7d7bc6
commit 18c66d5655

View file

@ -60,7 +60,10 @@ module.exports = {
}),
/* disable while https://github.com/sveltejs/sapper/issues/79 is open */
// new ExtractTextPlugin('main.css'),
new LodashModuleReplacementPlugin(),
new LodashModuleReplacementPlugin({
collections: true,
caching: true
}),
new BundleAnalyzerPlugin({ // generates report.html and stats.json
analyzerMode: 'static',
generateStatsFile: true,