Skip to content

Conversation

ibgreen
Copy link
Collaborator

@ibgreen ibgreen commented Jun 21, 2017

Fixes #723
Fixes #728

// It enables bundling against src in this repo rather than installed deck.gl module
module.exports = require('../webpack.config.local')(module.exports);
// This line enables bundling against src in this repo rather than installed deck.gl module
module.exports = env => env ? require('../webpack.config.local')(CONFIG)(env) : CONFIG;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm run build won't work if you copy this example out of the deck.gl directory. Is this intentional?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm run build won't work if you copy this example out of the deck.gl directory. Is this intentional?

Hmm no, I wasn't aware that we had a build target in some of the examples. Should we delete it for consistency?

If we want to show an example with production builds, unit testing etc it would seem better to have one example (a special webpack production example) focused on that and keep all the other config files as minimal as possible.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleting it sounds fine to me.

@ibgreen ibgreen force-pushed the 0621-example-configs branch from 4591716 to ab3f1da Compare June 21, 2017 17:52
@ibgreen ibgreen merged commit ca1eb21 into master Jun 21, 2017
@ibgreen ibgreen deleted the 0621-example-configs branch June 21, 2017 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants