Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

webpack build over 1MB? #59

Open
Vagary opened this issue Mar 25, 2016 · 1 comment
Open

webpack build over 1MB? #59

Vagary opened this issue Mar 25, 2016 · 1 comment

Comments

@Vagary
Copy link

Vagary commented Mar 25, 2016

before i import it

> webpack  --progress --profile --colors --production

3115ms build modules
11ms seal
18ms optimize
16ms hashing
52ms create chunk assets
5749ms additional chunk assets
1ms optimize chunk assets
1ms optimize assets
17ms emit
Hash: 52be11111c7829c756b7
Version: webpack 1.12.14
Time: 9010ms
  Asset    Size  Chunks             Chunk Names
main.js  *253 kB*       0  [emitted]  main
   [0] multi main 52 bytes {0} [built]
       factory:0ms building:3ms = 3ms
    + 286 hidden modules

after i import it

> webpack  --progress --profile --colors --production

6446ms build modules
18ms seal
22ms optimize
32ms hashing
74ms create chunk assets
22070ms additional chunk assets
1ms optimize chunk assets
1ms optimize assets
86ms emit
Hash: ec8fa799601ba0b5d3a3
Version: webpack 1.12.14
Time: 28784ms
  Asset     Size  Chunks             Chunk Names
main.js  *1.26 MB*       0  [emitted]  main
   [0] multi main 52 bytes {0} [built]
       factory:1ms building:2ms = 3ms
    + 584 hidden modules
@carlosvillu
Copy link

That is because https://github.com/Daniel15/babel-standalone

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