Skip to content

Conversation

@sandiprb
Copy link

@sandiprb sandiprb commented Aug 26, 2019

To handle cases where webpack produces a vendor, manifest etc. files which are required in
the production config but is not produced in the dev environment.

A primary example of this can be projects generated by Vue CLI.

@sandiprb
Copy link
Author

@ranedk Raising this PR here since I feel this feature helps a lot.

@sandiprb sandiprb changed the title updated with improved webpack loader Handle different environment cases for different builds Aug 26, 2019
@owais
Copy link
Collaborator

owais commented Jan 8, 2020

I personally think such things should be put under an if clause inside the template. Pseudo code:

if is_production: load(manifest) load(assets) 
@owais
Copy link
Collaborator

owais commented Jan 8, 2020

But if you really want the template tag, it could easily live in your django project. I don't think it's important enough to live in the core package. Closing but happy to hear your thoughts.

@owais owais closed this Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants