From ba1226f58c7fc4073541b6ecf1ffd4834c1d2745 Mon Sep 17 00:00:00 2001 From: Nathan L Smith Date: Wed, 23 Oct 2019 15:04:26 -0500 Subject: [PATCH] [7.x] Add lru-cache shim (#49014) (#49092) --- webpackShims/lru-cache.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 webpackShims/lru-cache.js diff --git a/webpackShims/lru-cache.js b/webpackShims/lru-cache.js new file mode 100644 index 000000000000..9cc11a516378 --- /dev/null +++ b/webpackShims/lru-cache.js @@ -0,0 +1,20 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +module.exports = require('../node_modules/lru-cache');