From 062f35109df236a06a00d403d006b90760f9cfac Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 23 Feb 2020 22:34:28 +0100 Subject: move vue and vue-calendar-heatmap to webpack (#10188) - unvendor vue and vue-calendar-heatmap - remove unused moment.js leftover from previous heatmap version - ensure webpack loads the full version of vue - fix vue devmode warning related to 'searchLimit' type I wanted to name the chunk heatmap.js but adblockers don't like that filename [1]. [1] https://github.com/easylist/easylist/blob/3899d5dff33216c0bc64f09ff15d376f346d3e33/easyprivacy/easyprivacy_general.txt#L2095 --- webpack.config.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'webpack.config.js') diff --git a/webpack.config.js b/webpack.config.js index 4d2db5cf18..eac49f5cd6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -204,6 +204,9 @@ module.exports = { }, resolve: { symlinks: false, + alias: { + vue$: 'vue/dist/vue.esm.js', // needed because vue's default export is the runtime only + }, }, watchOptions: { ignored: [ -- cgit v1.2.3