mango-cms 0.2.9 → 0.2.10

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.
@@ -2,7 +2,7 @@
2
2
  "name": "mango-front",
3
3
  "version": "0.0.0",
4
4
  "scripts": {
5
- "dev": "vite",
5
+ "dev": "VITE_DEVMODE=true vite",
6
6
  "build": "vite build",
7
7
  "preview": "vite preview",
8
8
  "mango": "mango"
@@ -15,7 +15,7 @@ import './index.css'
15
15
  */
16
16
 
17
17
  import Home from './components/pages/home.vue'
18
- const isDev = ['true', '1'].includes(import.meta.env.VITE_DEVMODE)
18
+ const isDev = import.meta.env.DEV
19
19
 
20
20
  const routes = [
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mango-cms",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "main": "./index.js",
5
5
  "exports": {
6
6
  ".": "./index.js",