Closed kellyrmilligan closed 6 years ago
tried downgrading to latest 1.x of this puglin, and still no dice.
I do not get your issue... Are saying writeToFileEmit
doesn't work?
Yes. I’m trying to get the file generated on disk as well. ATM it’s only in memory
Are you talking about the manifest? Or JS, CSS?
Sorry yes the manifest.json, I’m doing a universal setup and want the manifest file always to be on disk so the server can pick it up.
Hum... weird we have a test to cover that... https://github.com/danethurber/webpack-manifest-plugin/blob/24acf95aaaaa4a2050e5f62340b66b2d0f6932aa/spec/plugin.integration.spec.js#L368-L370
Can you try to create a failing test or create a repository to reproduce the issue?
I guess I’m wondering is Memoery-fs what webpack dev server uses? I’m seeing the issue when using that. I’ll push up my current repo as it’s an example app still and update this with it.
ok, so, this is my bad. I was creating a new project with all the latest stuff for the most part, then realized for this I was using webpack-dev-server@^3
with webpack 3. with webpack dev server 2 this is working as expected. sorry about this!
I'm having the same issue, is this meant to support webpack-dev-server
v3?
I have this exact same issue... Are you implying this plugin does NOT support webpack-dev-server: 3.11.0
?
Downgrading to webpack-dev-server v2 isn't an option, it doesn't work in webpack 5.1...
@shadowc please use the Edit feature on replies. Posting repeated replies generates unneeded noise. If you're having trouble with webpack-dev-server, check out https://github.com/shellscape/webpack-plugin-serve. It's a lot lighter
I thought maybe
would do it, but not dice. using with
webpack-dev-server
pinned at 3.0.0, and2.0.0-rc.2 of the plugin.