add lodash features we were using

upgrade-sapper
Nolan Lawson 2018-03-16 23:38:28 -07:00
rodzic 507f7d7bc6
commit 18c66d5655
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -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,