New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: optimize webpack watch task to refresh time between changes to scss and js #3915
Comments
@DevinWalker I am closing this old duplicate issue: #3860 |
NPM packages are reduced to only the ones needed and run on the latest versions. Let me know what do you think. |
@DevinWalker can we add this package to webpack: https://github.com/nuxt/webpackbar and also this https://github.com/webpack-contrib/webpack-bundle-analyzer with the custom command to see how much weight each scripts adding to bundle |
fix: ensure webpack sourcemaps are working and optimize watch task #3915
@ravinderk I'm getting an issue with |
fix: ensure webpack sourcemaps are working and optimize watch task #3915
Sourcemaps are working now. I'd like to continue to see how we can reduce the |
@DevinWalker To further improve watch task performance, I took the following decisions:
for ref: |
I figured out why my local was so slow loading here: https://local.getflywheel.com/community/t/local-with-foundationpress-slow-browsersync-localhost/996/7 Long story short was I had to manually add Closing as webpack is performing nicely now with BrowserSync on my end. |
Bug Report
User Story
As a developer, I need sourcemaps to work properly so that I can easily identify where SCSS lines are located.
As a developers, I need the
watch
task to not take forever to reload so that I can be more efficient with my development.Current Behavior
clean-webpack-plugin
runs twice when theproduction
task is ran.Expected Behavior
Bug Type
Steps to Reproduce
/wp-content/plugins/give
npm install
npm watch
Possible Solution
Related
Acceptance Criteria
watch
without having to wait a long time so it messes up my efficiency.The text was updated successfully, but these errors were encountered: