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
Standards compliant way to load module is ES Modules not CommonJS in Node.
E.g. ESM Declaration
export default async function MyFunc(context) { return { status: 200, body: "hello, world!\n" }; }
ESM module use
import {MyFunc} from "my-module.mjs";
vs
CommonJS declaraion
module.exports = async function(context) { return { status: 200, body: "hello, world!\n" }; }
CommonJS use
const myModule = require("my-modules.cjs);
Is there a way to make NODE's ESM's imports / module declarations work in Fission?
Tried it locally and it did not work. Could not find any mentions/examples in your repos either
ESM is the recommended way to build Node JS code these days
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Standards compliant way to load module is ES Modules not CommonJS in Node.
E.g. ESM Declaration
ESM module use
vs
CommonJS declaraion
CommonJS use
Is there a way to make NODE's ESM's imports / module declarations work in Fission?
Tried it locally and it did not work. Could not find any mentions/examples in your repos either
ESM is the recommended way to build Node JS code these days
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
The text was updated successfully, but these errors were encountered: