Open mwbeene opened 4 years ago
Having the same issue, any resolution?
Create a folder called src
in the root of your project, put a file called index.js
inside it.
The contents of this file should be:
const Nunjucks = require('nunjucks');
const path = require('path');
const nunjucks = Nunjucks.configure(__dirname, {noCache: true});
module.exports = function (source) {
return nunjucks.render('hot.template.js', {html: source});
};
Hi there, I'm getting the following issue when I try to install:
Here are the steps I followed:
I'm pretty new to webpack so I'm not sure if I'm missing a step.
Thanks!