Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. webpack --config build/webpack.config.js
  2.  
  3. VAR_A=Hello World
  4. VAR_B=format the .env file like this with new vars separated by a line break
  5.  
  6. # in config/servers/web.js
  7. exports.production = {
  8. servers: {
  9. web: function(api){
  10. return {
  11. port: process.env.PORT
  12. }
  13. }
  14. }
  15. }
  16.  
  17. "scripts": {
  18. "aaa": "set TMP=test && npm run bbb",
  19. "bbb": "echo %TMP%"
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement