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
Hi,
With "mustache": "4.2.0" and "@types/mustache": "^4.0.1", the following code do not works:
index.ts
#!/usr/bin/env node import { render } from 'mustache'; console.log('must be defined', render);
It works with either @zeit/ncc or mustache 4.1.0. Changelog: janl/mustache.js#773
The text was updated successfully, but these errors were encountered:
@alaingiller you need to do:
import mustache from 'mustache'; const { render } = mustache;
here. You can see the same thing if you try running this in Node.js as an .mjs file.
.mjs
Sorry, something went wrong.
No branches or pull requests
Hi,
With "mustache": "4.2.0" and "@types/mustache": "^4.0.1", the following code do not works:
index.ts
It works with either @zeit/ncc or mustache 4.1.0. Changelog: janl/mustache.js#773
The text was updated successfully, but these errors were encountered: