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

keepInMemory + serve? #236

Open
mnpenner opened this issue Jul 6, 2020 · 0 comments
Open

keepInMemory + serve? #236

mnpenner opened this issue Jul 6, 2020 · 0 comments

Comments

@mnpenner
Copy link

mnpenner commented Jul 6, 2020

Is your feature request related to a problem? Please describe.
If I set keepInMemory: true because I'm using webpack-dev-server, presumably my webpack-assets.json will be served by WDS at some URL... right? How do I access it?

Describe the solution you'd like
path and filename refer to paths on disk; maybe add publicPath to choose where it'll be served from...?

Describe alternatives you've considered
LeavedevServer.contentBase unset, and keepInMemory: false so that assets-webpack-plugin will write the file to disk and then WDS will serve it.

Additional context
I want to set devServer.contentBase to false because I have no need to serve uncompiled assets. I'd also like to set keepInMemory: true because of my setup it'd be too difficult to access from disk anyway, so I just want WDS to serve at some address, like http://localhost:8081/webpack-assets.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants