mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-03 02:47:12 +00:00
revert incorrect replace
This commit is contained in:
parent
b14cc1951a
commit
d87e465e82
@ -138,7 +138,7 @@ async function buildFiles () {
|
||||
}
|
||||
|
||||
function addAppTemplate () {
|
||||
let templatePath = relative(this.buildDir, 'dist', 'index.html')
|
||||
let templatePath = resolve(this.buildDir, 'dist', 'index.html')
|
||||
if (fs.existsSync(templatePath)) {
|
||||
this.appTemplate = _.template(fs.readFileSync(templatePath, 'utf8'), {
|
||||
interpolate: /{{([\s\S]+?)}}/g
|
||||
|
Loading…
Reference in New Issue
Block a user