Fix bundler issue

This commit is contained in:
Alexis Sellier
2021-05-21 18:37:43 +02:00
parent 34298a1081
commit 00fce3b39d
+2 -1
View File
@@ -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,