Bundle select2 as npm dependency instead of local files

- Added select2 as npm dependency
- Removed local select2 library files to eliminate duplication
- Updated webpack config to copy select2.css to dist folder
- Added global jQuery attachment fix for select2
- Updated README to reflect bundled dependency approach
- Enabled select2 demo functionality
This commit is contained in:
Micha
2025-07-28 13:14:59 +02:00
parent dda7550181
commit f2a298f73a
21 changed files with 318 additions and 4566 deletions

File diff suppressed because one or more lines are too long

View File

@@ -10,6 +10,14 @@
* Licensed under the Apache License v2.0 (https://www.apache.org/licenses/LICENSE-2.0)
*/
/*!
* Select2 4.1.0-rc.0
* https://select2.github.io
*
* Released under the MIT license
* https://github.com/select2/select2/blob/master/LICENSE.md
*/
/*!
* jQuery JavaScript Library v3.7.1
* https://jquery.com/
@@ -20,3 +28,8 @@
*
* Date: 2023-08-28T13:37Z
*/
/**
* @license almond 0.3.3 Copyright jQuery Foundation and other contributors.
* Released under MIT license, http://github.com/requirejs/almond/LICENSE
*/