create-vista-app 0.0.4 → 0.0.7

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/bin/vista.js +3 -2
  2. package/package.json +1 -1
package/bin/vista.js CHANGED
@@ -218,8 +218,9 @@ async function startDev() {
218
218
  resolve: {
219
219
  dedupe: ['react', 'react-dom'],
220
220
  alias: {
221
- // Dev Fix: Point vista-core-js to source to enable HMR/Fast Refresh for framework internals
222
- 'vista-core-js': path.resolve(__dirname, '../../core/src')
221
+ ...(fs.existsSync(path.resolve(__dirname, '../../core/package.json'))
222
+ ? { 'vista-core-js': path.resolve(__dirname, '../../core/src') }
223
+ : {})
223
224
  }
224
225
  },
225
226
  optimizeDeps: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vista-app",
3
- "version": "0.0.4",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "vista": "./bin/vista.js"