We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just going through the doc atm, im getting problem on requiring the rev-manifest.json file.
var manifest = require('../../dist/rev-manifest');
I get this error Error: Cannot find module './path/to/rev-manifest'. Does require not work for json files anymore, and has to be modules ?
Error: Cannot find module './path/to/rev-manifest'
Should it be:
var manifest = '../../dist/rev-manifest';
The text was updated successfully, but these errors were encountered:
@adrianchen19888 require works fine for JSON files, make sure your path is correct.
Sorry, something went wrong.
Had the same problem. Nothing worked, except:
var manifest = require(__dirname + '../../dist/rev-manifest');
No branches or pull requests
Just going through the doc atm, im getting problem on requiring the rev-manifest.json file.
I get this error
Error: Cannot find module './path/to/rev-manifest'
. Does require not work for json files anymore, and has to be modules ?Should it be:
The text was updated successfully, but these errors were encountered: