mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-06 07:42:17 +02:00
Fix lodash not being tree shaked properly
This commit is contained in:
parent
def494533b
commit
3c4a9efe7e
|
@ -92,7 +92,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {throttle} from "lodash";
|
const throttle = require("lodash/throttle");
|
||||||
|
|
||||||
import NetworkList from "./NetworkList.vue";
|
import NetworkList from "./NetworkList.vue";
|
||||||
import Chat from "./Chat.vue";
|
import Chat from "./Chat.vue";
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
<script>
|
<script>
|
||||||
require("intersection-observer");
|
require("intersection-observer");
|
||||||
|
|
||||||
import {throttle} from "lodash";
|
const throttle = require("lodash/throttle");
|
||||||
|
|
||||||
const constants = require("../js/constants");
|
const constants = require("../js/constants");
|
||||||
const clipboard = require("../js/clipboard");
|
const clipboard = require("../js/clipboard");
|
||||||
|
|
Loading…
Reference in a new issue