Skip to content

Commit

Permalink
add comment about process.env configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdow committed Jun 21, 2017
1 parent 2eb0448 commit 681daee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ module.exports = {
template: "./src/index.html",
inject: "body"
}),
//this allow to dynamically load the unminified version of cesium
// you can set it to prod or comment this plugin to load Cesium minified version
new webpack.DefinePlugin({
"process.env": {
NODE_ENV: JSON.stringify("dev")
Expand Down

0 comments on commit 681daee

Please sign in to comment.