Skip to content

Commit

Permalink
Correct undefined environment variable error
Browse files Browse the repository at this point in the history
  • Loading branch information
Anaeze Nsoffor authored and Anaeze Nsoffor committed May 17, 2018
1 parent 6036920 commit 58deb98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack.common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ module.exports = {
},
plugins: [
new webpack.DefinePlugin({
UPLOAD_PRESET: JSON.stringify(process.env.UPLOAD_PRESET),
API_KEY: JSON.stringify(process.env.API_KEY),
'process.env.UPLOAD_PRESET': JSON.stringify(process.env.UPLOAD_PRESET),
'process.env.API_KEY': JSON.stringify(process.env.API_KEY),
}),
new webpack.ProvidePlugin({
$: 'jquery',
Expand Down

0 comments on commit 58deb98

Please sign in to comment.