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 option to YML config for "dev_mode" #537

Closed
justin808 opened this issue Jun 26, 2017 · 2 comments
Closed

add option to YML config for "dev_mode" #537

justin808 opened this issue Jun 26, 2017 · 2 comments

Comments

@justin808
Copy link
Contributor

justin808 commented Jun 26, 2017

How about an option for:

dev_mode: dev-server | static | DLL

dev-server uses the normal live reload and is the default, and does not require the manifest.
static uses the normal fingerprinted, manifested assets.
*DLL uses the webpack DLL which does not fingerprint the assets and does not uses a manifest.

See shakacode/webpacker_lite#20.

@justin808 justin808 changed the title add option to YML config add option to YML config for "dev_mode" Jun 26, 2017
@gauravtiwari
Copy link
Member

@justin808 How this would help?

To me, this will complicate things - three modes just for development environment?
With webpacker the first two modes are pretty trivial to use - just switch the binstubs however I see the DLL mode requires some setup and bit complicated to use.

Probably leave this to project owners?

@justin808
Copy link
Contributor Author

@gauravtiwari, It turns out that when using the DLL, some assets need to be hashed. So we can close this ticket.

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