From 6dce0c1e032edd9ff70f4a1c417a8662d1012e8b Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Fri, 18 Jun 2021 00:51:11 -0700 Subject: 100x!! Former-commit-id: e0fa2e78da8083dc590c4b1f3d016ba545261b84 --- demos/simple-react/snowpack.config.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'demos/simple-react/snowpack.config.js') diff --git a/demos/simple-react/snowpack.config.js b/demos/simple-react/snowpack.config.js index 40d8ec9b1..cf580b9f9 100644 --- a/demos/simple-react/snowpack.config.js +++ b/demos/simple-react/snowpack.config.js @@ -3,14 +3,12 @@ /** @type {import("snowpack").SnowpackUserConfig } */ module.exports = { + root: "src", mount: { - src: "/dist", - public: { url: "/", static: true, resolve: false }, - resolve: true, + public: "/", + src: "/", }, - plugins: [ - /* ... */ - ], + plugins: ["@snowpack/plugin-react-refresh"], packageOptions: { /* ... */ }, -- cgit v1.2.3