uniweb 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.js +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uniweb",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Create structured Vite + React sites with content/code separation",
5
5
  "type": "module",
6
6
  "bin": {
@@ -34,6 +34,6 @@
34
34
  "@uniweb/build": "^0.1.0",
35
35
  "prompts": "^2.4.2",
36
36
  "tar": "^7.0.0",
37
- "@uniweb/templates": "0.1.3"
37
+ "@uniweb/templates": "0.1.4"
38
38
  }
39
39
  }
package/src/index.js CHANGED
@@ -696,6 +696,9 @@ export default defineConfig({
696
696
  fs: { allow: ['..'] },
697
697
  port: 3000,
698
698
  },
699
+ optimizeDeps: {
700
+ include: ['react', 'react-dom', 'react-dom/client', 'react-router-dom'],
701
+ },
699
702
  })
700
703
  `)
701
704