-
-
Notifications
You must be signed in to change notification settings - Fork 579
Webpack should compile different JS files #847
Comments
Love it. I would use |
Great! it seems that for our sass files it's the same story, we're only generating |
I assumed you meant both. :) Definitely! |
@paganotoni I started working on a new application and found out that this is causing some problems. Everything works fine, but when I change, say
The only way to fix the problem is to restart This either needs to be fixed before we release |
@markbates when are we planning to release 0.11.0 ? I want to commit to have this in 0.11.0 |
right now February 12th |
In that case let’s have it in |
@markbates this issue seems not to be caused by this particular feature, anyways I'm working on it, I changed my webpack configuration to be the old one and it still happens when you change a file and save it multiple times quickly, it kind of loses contact with the assets folder and webpack stops recompiling. There is another issue with the fonts that I've added in #821. I continued looking into the config and seems the culprit is the |
Under some situations as a developer you want to have different JS for different pages in your application, this can be for multiple reasons, the reasons I've faced are:
As a solution Buffalo could have webpack compile every file on the /assets/js folder into its fingerprinted version inside
/public/assets
and in order to avoid partial files, we could exclude files that start with an underscore or another pattern we decide.Changes to make this possible would be done in the generated
webpack.config.js
.The text was updated successfully, but these errors were encountered: