pull/1/head
yutent 2022-10-21 14:39:15 +08:00
parent f0cb82e2c0
commit e9a9cadd3b
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ export default function createServer(root = '', conf = {}) {
let page = conf.pages[pageName]
let entry = fs.cat(page.entry).toString()
let html = fs.cat(join(process.env.PWD, 'index.html')).toString()
let html = fs.cat(join(process.cwd(), 'index.html')).toString()
entry = parseJs(entry, conf.imports, { IS_MPA, currentPage })

View File

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