From 00ac4ffc16d70fbaae58caa3f4ab6cfd863a211a Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Tue, 20 Apr 2021 21:34:34 +0200 Subject: [PATCH] chore: fix deprecation warning with Node.js imports --- packages/build_package.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/build_package.js b/packages/build_package.js index e3d04532e0a82..8cdcd3e3f026f 100755 --- a/packages/build_package.js +++ b/packages/build_package.js @@ -150,7 +150,7 @@ if (!args.some(arg => arg === '--no-cleanup')) { require: './index.js', }, // Anything else can be required/imported by providing a relative path. - './': './', + './*': './*', }, scripts: { install: 'node install.js',