PavelVanecek / gulp-crx

Pack Chrome Extension in the pipeline.
31 stars 3 forks source link

Cannot find module : 'manifest' #4

Closed nitinsurana closed 8 years ago

nitinsurana commented 8 years ago
var manifest = require('manifest');

Running gives Cannot find module: manifest, probably related to the above line. Which package to install ?

PavelVanecek commented 8 years ago

This is actually a mistake in the README example. The require should ask for the manifest.json file in the extension root.

nitinsurana commented 8 years ago

Yup, just figured manifest is not some node module, we can actually read manifest.json using require command.