Compile Task
After you've created a task using the K2 task template as a guide, you'll need to compile it with Webpack into a single executable file.
Open up your terminal, and in the directory of your task:
Run
yarnto install all dependenciesRun
yarn webpackto compile codeYou should see a new directory
/distYour compiled executable is located in
/dist/main.js
That's it! You've successfully compiled your task into a single executable file.
Last updated