Skip to content

Instantly share code, notes, and snippets.

@sibelius
Created February 27, 2020 01:56
Show Gist options
  • Save sibelius/a85b79e0720ab6795fe01e9ef7a2c3ec to your computer and use it in GitHub Desktop.
Save sibelius/a85b79e0720ab6795fe01e9ef7a2c3ec to your computer and use it in GitHub Desktop.
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