Open
Description
Hi I follow exactly your tutorial, and the webpack-stats.json was generated inside the assets/bundles/webpack-stats.json
I try to preview at browser, and got this error
Error reading /Users/cyberfly/learndjango/webpack-stats.json. Are you sure webpack has generated the file and the path is correct?
this is my directory
learndjango
- assets
-- bundles
--- webpack-stats.json
- learndjango
- myapp
settings.py
WEBPACK_LOADER = {
'DEFAULT': {
'BUNDLE_DIR_NAME': 'bundles/',
'STATS_FILE': os.path.join(BASE_DIR, 'webpack-stats.json'),
}
}
webpack.config.js is located inside project folder root
Can you help me identify what is wrong here?
Metadata
Metadata
Assignees
Labels
No labels