Skip to content

Instantly share code, notes, and snippets.

@sibelius
Created Feb 27, 2020
Embed
What would you like to do?
const dotEnv = require('dotenv-webpack');
webpackConfig.plugins = [
new dotEnv({
path: path.join(cwd, './.env'),
}),
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment