Last active
September 12, 2018 16:28
-
-
Save JefCurtis/b2d34c2d3201e09b4c534ed6574cb9ae to your computer and use it in GitHub Desktop.
Gmail add-on: Add HTML Webpack plugin for AppsScript template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const HtmlWebpackPlugin = require("html-webpack-plugin"); | |
| [...] | |
| module.exports = { | |
| [...] | |
| plugins: [ | |
| new HtmlWebpackPlugin({ | |
| filename: "appsscript.json", | |
| template: join(root, "config", "appsscript.json.ejs"), | |
| chunks: [], | |
| addon: { | |
| name: "My Gmail add-on" | |
| }, | |
| }), | |
| ], | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment