Skip to content

Conversation

@jetfuel
Copy link
Collaborator

@jetfuel jetfuel commented Mar 12, 2018

No description provided.

@jetfuel jetfuel self-assigned this Mar 12, 2018
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': 'production'
NODE_ENV: '"production"'

Choose a reason for hiding this comment

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

Oh I hate this guy. Every version of webpack requires this to be done differently. Glad you found the right way

Copy link
Contributor

Choose a reason for hiding this comment

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

so the one 'NODE_ENV': '"dev"' in webpack.dev.config.js is it ok?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, that should be fine. We can always develop with Vue without trouble. It is the prod environment having issues.

@jetfuel jetfuel merged commit 1816767 into PaddlePaddle:develop Mar 12, 2018
@jetfuel jetfuel deleted the updateBuildScripts branch March 12, 2018 19:01
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.

3 participants