We're updating the issue view to help you get more done.Learn more

Less verbose javascript builds

mentioned the javascript builds are producing too much output

The output on console seems ok, but the third block that ends up in the logs is excessive and looks like what should be removed.

Current output

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 [damason@sprout frontend]$ make build yarn build --ignore-scripts=false yarn build v0.21.3 $ yarn build:icons && webpack -p --config webpack.prod.config.js --bail --display-error-details false yarn build:icons v0.21.3 $ yarn svg && yarn icons yarn svg v0.21.3 $ svg-sprite -sD app/components/Icons --symbol-dest '' --ss icons.svg --si app/components/Icons/svgs/*.svg Done in 1.83s. yarn icons v0.21.3 $ node scripts/createIconsComponent && node scripts/generateIconList Icon file list saved Done in 0.32s. Done in 2.77s. Hash: ce860e74f3fe8f0679ba Version: webpack 1.13.0 Time: 118217ms Asset Size Chunks Chunk Names frontend.min.js.map 9.48 MB 0 [emitted] frontend frontend.min.js 1.29 MB 0 [emitted] frontend editor.min.js 1.09 MB 2 [emitted] editor editor.css 77.8 kB 2 [emitted] editor frontend.css 113 kB 0 [emitted] frontend frontend.legacy.css 113 kB 1 [emitted] frontend.legacy frontend.legacy.min.js 729 kB 1 [emitted] frontend.legacy frontend.css.map 89 bytes 0 [emitted] frontend frontend.legacy.min.js.map 6.13 MB 1 [emitted] frontend.legacy frontend.legacy.css.map 96 bytes 1 [emitted] frontend.legacy editor.min.js.map 8.13 MB 2 [emitted] editor editor.css.map 87 bytes 2 [emitted] editor + 1575 hidden modules Child extract-text-webpack-plugin: + 2 hidden modules Child extract-text-webpack-plugin: + 2 hidden modules Child extract-text-webpack-plugin: + 3 hidden modules Done in 122.72s.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 [damason@sprout frontend]$ make draft yarn draft --ignore-scripts=false yarn draft v0.21.3 $ yarn build:icons && webpack --config webpack.draft.config.js --progress --bail --display-error-details false yarn build:icons v0.21.3 $ yarn svg && yarn icons yarn svg v0.21.3 $ svg-sprite -sD app/components/Icons --symbol-dest '' --ss icons.svg --si app/components/Icons/svgs/*.svg Done in 2.10s. yarn icons v0.21.3 $ node scripts/createIconsComponent && node scripts/generateIconList Icon file list saved Done in 0.28s. Done in 3.19s. Hash: 5d526d1ba76cb263241c Version: webpack 1.13.0 Time: 36190ms Asset Size Chunks Chunk Names frontend.min.js 4.06 MB 0 [emitted] frontend frontend.legacy.min.js 2.63 MB 1 [emitted] frontend.legacy editor.min.js 3.5 MB 2 [emitted] editor editor.css 127 kB 2, 2 [emitted] editor, editor frontend.css 111 kB 0, 0 [emitted] frontend, frontend frontend.legacy.css 111 kB 1, 1 [emitted] frontend.legacy, frontend.legacy + 1698 hidden modules Child extract-text-webpack-plugin: + 3 hidden modules Child extract-text-webpack-plugin: + 2 hidden modules Child extract-text-webpack-plugin: + 2 hidden modules Done in 41.12s.

But there is a progress line during the draft build that is updated continuously - this produce a lot of log output in one extremely long line, like the following:

1 [ERROR]  0% compile 10% 0/1 build modules 10% 0/2 build modules 10% 0/3 build modules 30% 1/3 build modules 50% 2/3 build modules 70% 3/3 build modules 54% 3/4 build modules 46% 3/5 build modules 40% 3/6 build modules 35% 3/7 build modules 32% 3/8 build modules 30% 3/9 build modules 28% 3/10 build modules 26% 3/11 build modules 25% 3/12 build modules 23% 3/13 build modules 22% 3/14 build modules 22% 3/15 build modules 21% 3/16 build modules 20% 3/17 build modules 20% 3/18 build modules 19% 3/19 build modules 19% 3/20 build modules 18% 3/21 build modules 18% 3/22 build modules 20% 4/22 build modules 23% 5/22 build modules 26% 6/22 build modules 29% 7/22 build modules 31% 8/22 build modules 34% 9/22 build modules 37% 10/22 build modules 40% 11/22 build modules 42% 12/22 build modules 45% 13/22 build modules 43% 13/23 build modules 46% 14/23 build modules 45% 14/24 build modules 47% 15/24 build modules 46% 15/25 build modules 44% 15/26 build modules 43% 15/27 build modules 42% 15/28 build modules 41% 15/29 build modules 40% 15/30 build modules 39% 15/31 build modules 38% 15/32 build modules 40% 16/32 build modules 41% 17/32 build modules 40% 17/33 build modules 42% 18/33 build modules 41% 18/34 build modules 40% 18/35 build modules 42% 19/35 build modules 41% 19/36 build modules 40% 19/37 build modules 42% 20/37 build modules 44% 21/37 build modules 43% 21/38 build modules 42% 21/39 build modules 41% 21/40 build modules 40% 21/41 build modules 40% 21/42 build modules 39% 21/43 build modules 38% 21/44 build modules 38% 21/45 build modules 37% 21/46 build modules 36% 21/47 build modules 36% 21/48 build modules 35% 21/49 build modules 35% 21/50 build modules 34% 21/51 build modules 34% 21/52 build modules 33% 21/53 build modules 33% 21/54 build modules 32% 21/55 build modules 32% 21/56 build modules 32% 21/57 build modules 31% 21/58 build modules 31% 21/59 build modules 31% 21/60 build modules 30% 21/61 build modules 30% 21/62 build modules 30% 21/63 build modules 29% 21/64 build modules 29% 21/65 build modules 29% 21/66 build modules 28% 21/67 build modules 28% 21/68 build modules 28% 21/69 build modules 28% 21/70 build modules 27% 21/71 build modules 27% 21/72 build modules 27% 21/73 build modules 27% 21/74 build modules 26% 21/75 build modules 26% 21/76 build modules 26% 21/77 build modules 26% 21/78 build modules 25% 21/79 build modules 25% 21/80 build modules 25% 21/81 build modules 25% 21/82 build modules 25% 21/83 build modules 25% 21/84 build modules 25% 22/84 build modules 26% 23/84 build modules 27% 24/84 build modules 27% 25/84 build modules 27% 25/85 build modules 28% 26/85 build modules 29% 27/85 build modules 29% 28/85 build modules 30% 29/85 build modules 31% 30/85 build modules 31% 31/85 build modules 32% 32/85 build modules 33% 33/85 build modules 34% 34/85 build modules 34% 35/85 build modules 34% 35/86 build modules 34% 35/87 build modules 34% 36/87 build modules 35% 37/87 build modules 35% 37/88 build modules 35% 38/88 build modules 35% 38/89 build modules 35% 38/90 build modules 35% 38/91 build modules 34% 38/92 build modules 34% 38/93 build modules 34% 38/94 build modules 34% 38/95 build modules 33% 38/96 build modules 33% 38/97 build modules 33% 38/98 build modules 33% 38/99 build modules 32% 38/100 build modules 32% 38/101 build modules 32% 38/102 build modules 32%

Status

Assignee

David Mason

Reporter

David Mason

Tested Version/s

None

Sprint

None

Fix versions

Priority

unspecified