mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
remove i10n locales from DatePicker
This saves 41972 bytes from the total build bundle size. Locales can be optionally added by importing in the app the specific locale (or all of them), according to the flatpickr documentation: https://flatpickr.js.org/localization/
This commit is contained in:
parent
e36b52b3f3
commit
7aeb530375
1 changed files with 0 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
|||
import flatpickr from "flatpickr";
|
||||
import l10n from "flatpickr/dist/l10n/index.js";
|
||||
import rangePlugin from "flatpickr/dist/plugins/rangePlugin";
|
||||
|
||||
function updateClasses(instance) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue