fixed
parent
f0cb82e2c0
commit
e9a9cadd3b
|
@ -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 })
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@bytedo/vue-live",
|
||||
"type": "module",
|
||||
"version": "0.0.11",
|
||||
"version": "0.0.12",
|
||||
"bin": {
|
||||
"vue-live": "index.js"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue