From 00fce3b39da17a358a1de71638b3c18e4c42784a Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Fri, 21 May 2021 18:37:43 +0200 Subject: [PATCH] Fix bundler issue --- snowpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snowpack.config.js b/snowpack.config.js index 6fc0b7ea5..8f16a88e6 100644 --- a/snowpack.config.js +++ b/snowpack.config.js @@ -19,7 +19,8 @@ module.exports = { {"match": "routes", "src": ".*", "dest": "/index.html"}, ], optimize: { - "bundle": true, + /* Setting `bundle: true` breaks .json imports in snowpack 3.5.0 */ + "bundle": false, }, packageOptions: { polyfillNode: true,