diff options
author | 2021-06-18 00:51:11 -0700 | |
---|---|---|
committer | 2021-06-18 00:51:11 -0700 | |
commit | 6dce0c1e032edd9ff70f4a1c417a8662d1012e8b (patch) | |
tree | 23e3af849a0bbbf8943227941f900dc91421a358 /demos/simple-react/snowpack.config.js | |
parent | 9ca283bb43ebee74bf36af50807474b962ac44a1 (diff) | |
download | bun-6dce0c1e032edd9ff70f4a1c417a8662d1012e8b.tar.gz bun-6dce0c1e032edd9ff70f4a1c417a8662d1012e8b.tar.zst bun-6dce0c1e032edd9ff70f4a1c417a8662d1012e8b.zip |
100x!!
Former-commit-id: e0fa2e78da8083dc590c4b1f3d016ba545261b84
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: { /* ... */ }, |