适配windows

pull/1/head
yutent 2022-10-21 14:10:38 +08:00
parent 7ebdcb9b8e
commit 1d168f75ec
2 changed files with 3 additions and 3 deletions

View File

@ -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 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 SOURCE_DIR = join(WORK_SPACE, 'src')

View File

@ -1,7 +1,7 @@
{
"name": "@bytedo/vue-live",
"type": "module",
"version": "0.0.7",
"version": "0.0.10",
"bin": {
"vue-live": "index.js"
},