fix: disable template literals in loadash template (#3753)

This commit is contained in:
Clark Du 2018-08-17 09:55:24 +01:00 committed by GitHub
parent 280983fa88
commit 565ab7086a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -403,7 +403,8 @@ export default class Builder {
resolvePath: this.nuxt.resolvePath,
resolveAlias: this.nuxt.resolveAlias,
relativeToBuild: this.relativeToBuild
}
},
interpolate: /<%=([\s\S]+?)%>/g
})
content = template(
Object.assign({}, templateVars, {