Open stevecj opened 2 years ago
Actually, if I visit the URL manually and remove "auto", I do get the file, so any idea why "auto" is being added to the name in the URL?
In the manifest.json file, I see that all of the mapped values have "auto" prepended to them.
I found a question about this and an answer with a workaround at https://stackoverflow.com/questions/65245185/new-to-webpackautoprefix-problem-with-webpack-manifest-plugin
It's a webpack 5 thing.
I'm not sure whether to close this or to leave it open since a change will be needed to support webpack 5 without the workaround.
Running with
DEBUG=True
, in the browser console, I have the following:In the dist directory, there is a main.3aae4e640403c1e57326.js file. Perhpaps, that URL is exactly what it should be be? It is obviously not resolving to the ./dist/main.3aae4e640403c1e57326.js file as it should though.
In the template, I have
<script src="{% manifest 'main.js' %}"></script>
.Any idea what is going on here?
Thanks