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

Bugfix for webpack paths #7

Merged
merged 3 commits into from
Oct 3, 2016
Merged

Bugfix for webpack paths #7

merged 3 commits into from
Oct 3, 2016

Conversation

julen
Copy link
Contributor

@julen julen commented Oct 3, 2016

This makes the build process more Windows-friendly and doesn't result in odd errors like missing 'C:\manifest.json' file caused by incorrect path splitting.

It also prevents Webpack chunks to be created under odd directory names, like pootle/static/js/11../11/app.bundle.js. With that change the path is expected to be just pootle/static/js/11/app.bundle.js where 11 is a chunk ID (we have a bunch of these).

Supersedes #2.

The way our code currently deals with multiple webpack directories
(as it joins and splits them by ':') doesn't work very well with
Windows paths that have semicolon in their path (C:\path\to\dir).
So changing this to ';' which should be good for both Windows
and *nix.
@julen julen mentioned this pull request Oct 3, 2016
@julen
Copy link
Contributor Author

julen commented Oct 3, 2016

Verified on my end in a *nix environment and all looks good. Well done @iafan 👍.

@iafan iafan merged commit 1a2117d into serge-community:master Oct 3, 2016
@julen julen deleted the bugfix/webpack-paths branch October 3, 2016 21:15
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.

None yet

2 participants