-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Saving files in watch mode changes paths in assets file #115
Comments
Same here with |
same issue: "og-image.png": {
"src": "/img/og-image.png",
"integrity": "..."
},
|
Same here on webpack v4 and webpack-assets-manifest@~4 |
@Monokai Can you install the plugin from my npm install webdeveric/webpack-assets-manifest#watch-mode-update |
@webdeveric |
@webdeveric Seems to be working. Thanks! |
webdeveric
added a commit
that referenced
this issue
Jan 12, 2021
webdeveric
added a commit
that referenced
this issue
Jan 12, 2021
@Monokai @mpg-tomoya-komiyama I've published an updated version to npm. |
This was referenced Mar 11, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
I'm working on a project that runs webpack in watch mode using the
devServer
config. When I start the project, everything works fine and all the paths in the resulting assets manifest are correct. Whenever I change my code and save a random JS file, the assets paths are changed.Version 3 didn't show this behavior, even with Webpack 5.
Technical details
paths on first run:
after a save of a random JS file:
You can see that
outputPath
seems to be discarded.Webpack version
5.10.0
Webpack config
…
…
Operating system
Docker
node:14-alpine
The text was updated successfully, but these errors were encountered: