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

Add ability to pass '[ext]' template to output file name templates #1799

Merged
merged 4 commits into from Dec 4, 2021

Conversation

LukeSheard
Copy link
Contributor

Within web pack there is a facility that allows the structure of output chunk filenames to include an [ext] placeholder which represents the filename extension sans period, e.g. css, svg, etc.

We found in the case where we are trying to migrate from Create React App that it was useful to demonstrate segregating assets by js / css to preserve the static output file structure generated using webpack.

@evanw evanw merged commit 640727d into evanw:master Dec 4, 2021
evanw added a commit that referenced this pull request Dec 4, 2021
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