Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Slow build times when using 0.3.3 #36

Closed
necolas opened this issue Nov 4, 2014 · 6 comments
Closed

Slow build times when using 0.3.3 #36

necolas opened this issue Nov 4, 2014 · 6 comments

Comments

@necolas
Copy link
Contributor

necolas commented Nov 4, 2014

Since upgrading from 0.3.1 to 0.3.3:

  • Our dev builds have gone from ~2s to ~30s
  • Our prod builds (all languages) have gone from ~6s to ~60s.

(Used with webpack@1.4.12. Downgrading to extract-text-webpack-plugin@0.3.1 returns to fast build times – but we need the new content hashing for prod builds).

@sokra
Copy link
Member

sokra commented Nov 5, 2014

That's a pretty huge drop...

@sokra
Copy link
Member

sokra commented Nov 5, 2014

Are you using devtool: "sourcemap"?

@necolas
Copy link
Contributor Author

necolas commented Nov 5, 2014

We're generating source maps via this plugin (but we have a bug where CSS maps are missing mappings content – maybe a postcss issue though):

new webpack.SourceMapDevToolPlugin(
  '[file].map', null,
  '[absolute-resource-path]', '[absolute-resource-path]'
)

@necolas
Copy link
Contributor Author

necolas commented Nov 5, 2014

Ah, since updating to 0.3.3 and using with webpack-dev-server, it also doesn't update the CSS served to the app when CSS files change. Will create a separate issue.

0.3.2/0.3.3 should really have been a minor release. Maybe do a revert to 0.3.1 and release it as 0.3.4, and then release a patched version of 0.3.3 as 0.4.0?

@necolas
Copy link
Contributor Author

necolas commented Nov 7, 2014

The patch in 0.3.4 to fix the dev server case also seems to have fixed this issue.

@necolas necolas closed this as completed Nov 7, 2014
@sokra
Copy link
Member

sokra commented Nov 8, 2014

Perfect ☺

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants