From 40a04bc7e6a8d99e837938ff984e4bf4036dae3b Mon Sep 17 00:00:00 2001 From: Tim Zallmann Date: Tue, 29 Jan 2019 10:35:53 +0100 Subject: Wraps Select 2 Import into its own webpack bundle Wraps all imports for select 2 to deferred imports, especially in the main.js we are actually checking if there is any select 2 element on the page or not. --- app/assets/javascripts/commons/jquery.js | 1 - 1 file changed, 1 deletion(-) (limited to 'app/assets/javascripts/commons') diff --git a/app/assets/javascripts/commons/jquery.js b/app/assets/javascripts/commons/jquery.js index a7ed175f7a4..009153d0703 100644 --- a/app/assets/javascripts/commons/jquery.js +++ b/app/assets/javascripts/commons/jquery.js @@ -7,4 +7,3 @@ import 'vendor/jquery.caret'; import 'vendor/jquery.atwho'; import 'vendor/jquery.scrollTo'; import 'jquery.waitforimages'; -import 'select2/select2'; -- cgit v1.2.1