Webtask Using Webpack
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.babelrc
.eslintrc.js
.flowconfig
.gitignore
LICENSE
README.md
package-lock.json
package.json
webpack.config.js
webtask.js

README.md

webtask-webpack

Webtask.io Boilerplate Using Webpack

Create serverless endpoints using modern JavaScript tooling.

Why?

Using the built-in webtask editor is convenient but has too many compromises. I became spoiled by the experiences of other JavaScript boilerplates that introduced me to the beauty of Babel, Flow and ESLint. These technologies combine to make JavaScript feel more safe.

Benefits

  • Use editor of choice: linting, code completion
  • Local version control for all code changes

Features

Todo

  • Add npm script for logging
  • Add npm script for automatic build/deploy (watch)
  • Add logic to bundle modules that don't exist in the sandbox

Deployment

Two environment variables are required for the wt command to succeed.

export WT_PROFILE=your-profile
export WT_NAME=your-name