From eba464be13a1e3f1541a7ef3161aa76a1133b9d9 Mon Sep 17 00:00:00 2001 From: dm1sh Date: Wed, 16 Jun 2021 20:25:53 +0500 Subject: [PATCH] Sent all routes to index.html --- snowpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/snowpack.config.js b/snowpack.config.js index 178158b..db70532 100644 --- a/snowpack.config.js +++ b/snowpack.config.js @@ -11,6 +11,7 @@ module.exports = { public: "/", src: "/dist", }, + routes: [{ match: "routes", src: ".*", dest: "/index.html" }], optimize: { bundle: true, },