Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix npm run build:prod #38

Merged
merged 1 commit into from
Jun 23, 2017
Merged

Fix npm run build:prod #38

merged 1 commit into from
Jun 23, 2017

Conversation

osmarcs
Copy link
Contributor

@osmarcs osmarcs commented Jun 20, 2017

When npm run electron:linux, its failed with error:
npm ERR! Failed at the [email protected] build:prod script 'cross-env NODE_ENV='production' npm run build'.

I simply add && in "cross-env NODE_ENV='production' && npm run build"

That does not happen in the standard project.

@maximegris maximegris merged commit 0fbc882 into maximegris:master Jun 23, 2017
@maximegris
Copy link
Owner

maximegris commented Jun 23, 2017

I had to revert your pull request because it breaks production compilation.
Bundles in dist/ directory are not minified & environment.prod.ts is not use with your fix.

May you try the previous npm command with quote around 'production' ?

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