Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gkubisa committed Jan 7, 2017
1 parent 42076a2 commit 332661f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@
"cross-env": "^3.1.4",
"css-loader": "^0.26.1",
"dirty-chai": "^1.2.2",
"dotenv": "^2.0.0",
"dotenv": "^4.0.0",
"elm": "^0.18.0",
"elm-hot-loader": "^0.5.4",
"elm-test": "^0.18.2",
"elm-webpack-loader": "^4.1.1",
"eslint": "^3.12.2",
"eslint": "^3.13.0",
"eslint-loader": "^1.6.1",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.9.0",
Expand All @@ -62,7 +62,7 @@
"karma-phantomjs-launcher": "^1.0.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.8.1",
"less": "^2.7.1",
"less": "^2.7.2",
"less-loader": "^2.2.3",
"mocha": "^3.2.0",
"node-elm-compiler": "^4.2.1",
Expand Down
6 changes: 5 additions & 1 deletion webpack.config.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ import ExtractTextPlugin from 'extract-text-webpack-plugin'
import WebpackStableModuleIdAndHash from 'webpack-stable-module-id-and-hash'
import dotenv from 'dotenv'

dotenv.config()
const dotenvError = dotenv.config().error

if (dotenvError) {
throw dotenvError
}

const START = process.env.npm_lifecycle_event === 'start'
const BUILD = process.env.npm_lifecycle_event === 'build'
Expand Down

0 comments on commit 332661f

Please sign in to comment.