适配windows
parent
7ebdcb9b8e
commit
1d168f75ec
4
index.js
4
index.js
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/env node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {}
|
* {}
|
||||||
|
@ -12,7 +12,7 @@ import { join } from 'path'
|
||||||
import createServer from './lib/dev.js'
|
import createServer from './lib/dev.js'
|
||||||
import compile from './lib/prod.js'
|
import compile from './lib/prod.js'
|
||||||
|
|
||||||
const WORK_SPACE = process.env.PWD
|
const WORK_SPACE = process.cwd()
|
||||||
|
|
||||||
const CONFIG_FILE = join(WORK_SPACE, 'vue.live.js')
|
const CONFIG_FILE = join(WORK_SPACE, 'vue.live.js')
|
||||||
const SOURCE_DIR = join(WORK_SPACE, 'src')
|
const SOURCE_DIR = join(WORK_SPACE, 'src')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@bytedo/vue-live",
|
"name": "@bytedo/vue-live",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.0.7",
|
"version": "0.0.10",
|
||||||
"bin": {
|
"bin": {
|
||||||
"vue-live": "index.js"
|
"vue-live": "index.js"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue