From a64ded86673287966ad8ba08cb9c72f9074561e6 Mon Sep 17 00:00:00 2001 From: andrewquang512 Date: Sun, 12 Nov 2023 22:30:36 +0700 Subject: [PATCH] Test deployment --- webpack.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 74e850f..2013804 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -6,6 +6,9 @@ export default { filename: 'handler.js', libraryTarget: 'commonjs2', }, + resolve: { + mainFields: ['module', 'main'], + }, module: { rules: [ {