pankod / canvas2video

canvas2video is a backend solution for creating and rendering dynamic videos.
https://pankod.com
GNU General Public License v3.0
283 stars 38 forks source link

Using at AWS Lambda #24

Open jjones3535a opened 3 years ago

jjones3535a commented 3 years ago

Is there a way to use this library like so: const renderer = require("@pankod/canvas2video/renderer") or some method using standard javascript instead of typescript? I'd like to use this lib on AWS Lambda somehow and I'm getting error messages like: "Unexpected token {", on the first line: import { renderer, encoder } from "@pankod/canvas2video"

I guess the question is, any way to use this lib without "import"?

issue-label-bot[bot] commented 3 years ago

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.86. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.