Improve tree shaking for lodash and date-fns.

This commit is contained in:
Dermot Duffy
2022-10-09 09:10:56 -07:00
parent 0d09286c8c
commit 9eb97ab0cd
10 changed files with 46 additions and 47 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import {
} from 'lit';
import { customElement, property } from 'lit/decorators.js';
import { createRef, ref, Ref } from 'lit/directives/ref.js';
import { throttle } from 'lodash-es';
import throttle from 'lodash-es/throttle';
import carouselStyle from '../scss/carousel.scss';
import { TransitionEffect } from '../types';
import { dispatchFrigateCardEvent } from '../utils/basic.js';