Last active
September 12, 2018 18:01
-
-
Save JefCurtis/692584a180d5d20216dd04cd51c03505 to your computer and use it in GitHub Desktop.
Gmail add-on: Copy clasp.json file to the build directory
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 { env } = require("process"); | |
| const deployEnv = env.DEPLOY_ENV || "dev"; | |
| [...] | |
| module.exports = { | |
| [...] | |
| plugins: [ | |
| new CopyWebpackPlugin([ | |
| { from: join(root, `config/${deployEnv}/.clasp.json`), to: ".", ToType: "file" }, | |
| ]), | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment