Will
Will
@awhillas did you try to set up with the 'existing project' flag? Also make sure you set the output dir to `../` and overwrite flag `-f` see: https://github.com/goldhand/cookiecutter-webpack#using-command-line
I should add some docs for this but the best way to do this IMHO is to use the generated webpack stats json file. There is a django plugin that...
@awhillas if you generate a cookiecutter-webpack project and you use the `existing_project` flag as true, the appropriate webpack config should be generated, meaning that the webpack-stats.json file will be generated...
Thanks @jayfk, this looks like what we need :smile:
@acanimal this is related to sw-precache-webpack-plugin, sw-precache is working correctly. The issue you reference above is the right area for this question: https://github.com/goldhand/sw-precache-webpack-plugin/issues/17
The webpack in-memory generated `bundle.js` and `style.css` files served from webpack-dev-middleware will not have the same name or path as the physical files. 1. A service worker file will need...
Can you not initialize the script from the file that is being imported?
Happy to take a PR for this :)
Can either @mike-engel or @maitrungduc1410 paste your webpack configs?
@mike-engel the whole config will help :)