Change Webpacker default path name

In the current version of Webpacker all assets are kept under a new path called `app/javascript`. This is a really stupid name, as it can contain all kinds of assets that are *not* javascript at all, like SCSS. It's common practise to rename this to something sensible like `app/webpacker` or `app/frontend`...
This commit is contained in:
Matt-Yorkley
2021-06-10 14:20:30 +01:00
parent a074f627b2
commit 0acd4fc9a1
2 changed files with 1 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
# Note: You must restart bin/webpack-dev-server for changes to take effect
default: &default
source_path: app/javascript
source_path: app/webpacker
source_entry_path: packs
public_root_path: public
public_output_path: packs