test windows
parent
b065e24abe
commit
b486f0c7a6
2
index.js
2
index.js
|
@ -28,7 +28,7 @@ import {
|
|||
} from './lib/demo-js.js'
|
||||
|
||||
const CURRENT_DIR = process.cwd()
|
||||
const root = dirname(import.meta.url.slice(7))
|
||||
const root = dirname(import.meta.url.slice(process.platform === 'win32' ? 10 : 7))
|
||||
const { version } = JSON.parse(fs.cat(join(root, './package.json')))
|
||||
|
||||
const DEFAULT_NAME = 'vue-live-app'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "create-vue-live",
|
||||
"type": "module",
|
||||
"version": "0.0.9",
|
||||
"version": "0.0.10",
|
||||
"bin": {
|
||||
"create-vue-live": "index.js"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue