Skip to content

Commit

Permalink
fix(manifest): typo in manifest.json filename
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya Parsa committed Jun 4, 2017
1 parent 9e8a87a commit c2cabb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/manifest/index.js
Expand Up @@ -32,9 +32,10 @@ module.exports = function nuxtManifest(options) {

// Write manifest.json
const manifest = _.defaultsDeep({}, this.options.manifest, defaults)
const manifestFileName = 'manifest.json '//`manifest.${hash(manifest)}.json`
const manifestFileName = 'manifest.json' //`manifest.${hash(manifest)}.json`
const distDir = 'static'
const manifestFilePath = path.resolve(this.options.rootDir, distDir, manifestFileName)
console.log(manifestFilePath)
if (!fs.existsSync(manifestFilePath)) {
fs.ensureDirSync(path.resolve(this.options.rootDir, distDir))
fs.writeFileSync(manifestFilePath, JSON.stringify(manifest), 'utf8')
Expand Down

0 comments on commit c2cabb6

Please sign in to comment.