create-vista-app 0.0.9 → 0.0.11
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.
- package/bin/vista.js +9 -3
- package/package.json +2 -2
- package/templates/default/package.json +1 -1
package/bin/vista.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { createServer, createLogger } from 'vite';
|
|
4
4
|
import pc from 'picocolors';
|
|
@@ -395,7 +395,10 @@ async function build() {
|
|
|
395
395
|
manifest: true, // Generate manifest for asset mapping
|
|
396
396
|
rollupOptions: {}
|
|
397
397
|
},
|
|
398
|
-
plugins: [react(), tailwindnorm(), vistaPlugin()]
|
|
398
|
+
plugins: [react(), tailwindnorm(), vistaPlugin()],
|
|
399
|
+
resolve: {
|
|
400
|
+
dedupe: ['react', 'react-dom']
|
|
401
|
+
}
|
|
399
402
|
});
|
|
400
403
|
|
|
401
404
|
console.log(pc.green('✓ Building Server...'));
|
|
@@ -410,7 +413,10 @@ async function build() {
|
|
|
410
413
|
input: 'vista-core-js/entry-server'
|
|
411
414
|
}
|
|
412
415
|
},
|
|
413
|
-
plugins: [react(), tailwindnorm(), vistaPlugin()]
|
|
416
|
+
plugins: [react(), tailwindnorm(), vistaPlugin()],
|
|
417
|
+
resolve: {
|
|
418
|
+
dedupe: ['react', 'react-dom']
|
|
419
|
+
}
|
|
414
420
|
});
|
|
415
421
|
|
|
416
422
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vista-app",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"vista": "./bin/vista.js"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@tailwindcss/vite": "^4.0.0-beta.9",
|
|
27
|
-
"vista-core-js": "^0.0.
|
|
27
|
+
"vista-core-js": "^0.0.7",
|
|
28
28
|
"@vitejs/plugin-react": "^5.1.2",
|
|
29
29
|
"compression": "^1.8.1",
|
|
30
30
|
"express": "^5.2.1",
|