From 0e4f9996fc1350293cf016a8670fe9dd62e5c59f Mon Sep 17 00:00:00 2001 From: TT <44315206+timedtext@users.noreply.github.com> Date: Thu, 17 Aug 2023 11:23:55 +0800 Subject: [PATCH] Reduce bundle size Importing in this way can reduce the bundle size when it is needed to package into a single file. --- vary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vary.js b/vary.js index 1d0be67..a10324d 100644 --- a/vary.js +++ b/vary.js @@ -1,6 +1,6 @@ 'use strict' -const LRUCache = require('mnemonist').LRUCache +const LRUCache = require('mnemonist/lru-cache') /** * Field Value Components