Fix lodash not being tree shaked properly
This commit is contained in:
parent
def494533b
commit
3c4a9efe7e
@ -92,7 +92,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {throttle} from "lodash";
|
||||
const throttle = require("lodash/throttle");
|
||||
|
||||
import NetworkList from "./NetworkList.vue";
|
||||
import Chat from "./Chat.vue";
|
||||
|
@ -51,7 +51,7 @@
|
||||
<script>
|
||||
require("intersection-observer");
|
||||
|
||||
import {throttle} from "lodash";
|
||||
const throttle = require("lodash/throttle");
|
||||
|
||||
const constants = require("../js/constants");
|
||||
const clipboard = require("../js/clipboard");
|
||||
|
Loading…
Reference in New Issue
Block a user