Skip to content
New issue

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

Add example GAS project using Node.js(ts-node) #17

Open
mahaker opened this issue Oct 7, 2023 · 1 comment
Open

Add example GAS project using Node.js(ts-node) #17

mahaker opened this issue Oct 7, 2023 · 1 comment

Comments

@mahaker
Copy link
Owner

mahaker commented Oct 7, 2023

Please make an example project of a GAS project using esbuild and Node.js(ts-node).
Make sure this function works properly.

The requirements are considered below.

  • The project dir is examples/ts-node
  • Create index.ts and lib.ts
    • At lib.ts, export one or more functions
    • At index.ts, import function from lib.ts and add one or more functions to global object.
  • Create build.ts
    • Include esbuild bundle settings.

If you open a PR and add a star, I'll give you the hacktoberfest-accepted label!
Happy hacking!

@ThePlenkov
Copy link

Examples would be nice - I had to read what webpack plugin does to understand how to use this one. But seems like it's working =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants