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