GAS is powerful, but its tooling is less than ideal. This repo serves as an example of the bare minimum setup required to develop GAS locally with ES6 and Webpack.
- Clone this repo
- Run
npm install
- Add your GAS code to
src/index.js
- Run
npm run build
- Paste the contents of
dist/Code.gs
into the GAS editor'sCode.gs
file