Permalink
Browse files

fix(manifest): typo in manifest.json filename

  • Loading branch information...
pi0 committed Jun 4, 2017
1 parent 9e8a87a commit c2cabb6e6adccab847789cb0dc2a52b7b16e7a7b
Showing with 2 additions and 1 deletion.
  1. +2 −1 modules/manifest/index.js
@@ -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')

0 comments on commit c2cabb6

Please sign in to comment.