diff options
Diffstat (limited to 'demos/simple-react/snowpack.config.js')
-rw-r--r-- | demos/simple-react/snowpack.config.js | 10 |
1 files changed, 4 insertions, 6 deletions
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: { /* ... */ }, |