Open matt-lethargic opened 5 years ago
@matt-lethargic I've no real experience using this plugin. However, it seems that this plugin has been deprecated in favor of wrangler. Wrangler does not offer support for Env variables either.
One thing that you could do is use webpack to inject global variables at build time with their DefinePlugin#
I'm trying to get environment variables working as described in the documentation but not having any lucky.
serverless.yml
test.js
I've tried
process.env.MY_TEST
and just plain oldMY_TEST
and no luck.