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

Prod webpack config #87

Open
day01 opened this issue Feb 25, 2017 · 2 comments
Open

Prod webpack config #87

day01 opened this issue Feb 25, 2017 · 2 comments

Comments

@day01
Copy link

day01 commented Feb 25, 2017

Whole project is nice example :)

That will be great option to add prod webpack config, without sourcemaps etc, only clear js and css.

Are you planning that kind of change in the project?

@sonicoder86
Copy link
Owner

The build script is in production mode with the -p flag for webpack.

Haven't planned it before.
Why would you skip sourcemaps?

@day01
Copy link
Author

day01 commented Feb 26, 2017

Usually for production mode I skip sourcemaps or change sourcemap server on vpn.
Code is not simple to view.
I know there is code and any obfuscator can handle this but, in my opinion I feel a little safer.
And deploy package is lighter.

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

No branches or pull requests

2 participants