Skip to content

Instantly share code, notes, and snippets.

@stoefln
Created June 10, 2019 10:49
Show Gist options
  • Save stoefln/5c05824051c425a371dfb6aa799596c9 to your computer and use it in GitHub Desktop.
Save stoefln/5c05824051c425a371dfb6aa799596c9 to your computer and use it in GitHub Desktop.
yarn cross-env DEBUG_PROD=true yarn build build.log
yarn run v1.16.0
$ C:\Users\steph\electron-react-boilerplate-opencv4nodejs\node_modules\.bin\cross-env DEBUG_PROD=true yarn build build.log
$ concurrently "yarn build-main" "yarn build-renderer" build.log
$ cross-env NODE_ENV=production webpack --config ./configs/webpack.config.renderer.prod.babel.js --colors
$ cross-env NODE_ENV=production webpack --config ./configs/webpack.config.main.prod.babel.js --colors
[2] build.log exited with code 0
[1] Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade caniuse-lite browserslist`
[0] Hash: 8273de904a639b1c5176
[0] Version: webpack 4.26.0
[0] Time: 4468ms
[0] Built at: 06/10/2019 12:43:10 PM
[0] Asset Size Chunks Chunk Names
[0] ./app/main.prod.js 76.7 KiB 0 [emitted] main
[0] ./app/main.prod.js.map 279 KiB 0 [emitted] main
[0] Entrypoint main = ./app/main.prod.js ./app/main.prod.js.map
[0] [./app/main.dev.js] ./app/main.dev.js + 1 modules 8.6 KiB {0} [built]
[0] | ./app/main.dev.js 2.54 KiB [built]
[0] | ./app/menu.js 6.04 KiB [built]
[0] [assert] external "assert" 42 bytes {0} [built]
[0] [child_process] external "child_process" 42 bytes {0} [built]
[0] [electron] external "electron" 42 bytes {0} [built]
[0] [electron-debug] external "electron-debug" 42 bytes {0} [built]
[0] [electron-log] external "electron-log" 42 bytes {0} [built]
[0] [electron-updater] external "electron-updater" 42 bytes {0} [built]
[0] [events] external "events" 42 bytes {0} [built]
[0] [fs] external "fs" 42 bytes {0} [built]
[0] [https] external "https" 42 bytes {0} [built]
[0] [path] external "path" 42 bytes {0} [built]
[0] [source-map-support] external "source-map-support" 42 bytes {0} [built]
[0] [util] external "util" 42 bytes {0} [built]
[0] + 69 hidden modules
[0] yarn build-main exited with code 0
[1] Hash: 428c3444194c9667fd67
[1] Version: webpack 4.26.0
[1] Time: 3891ms
[1] Built at: 06/10/2019 12:43:14 PM
[1] Asset Size Chunks Chunk Names
[1] 0b5e3a5451fc62d9023ccafc85bc89db.woff 17.7 KiB [emitted]
[1] 0c41971339b9fc5b1cefb0abad1e2e69.svg 137 KiB [emitted]
[1] 42f9fd6acee87559ac0d6a33488db65e.svg 697 KiB [emitted]
[1] 4478b4d7022cad174e4c04246fe622ef.svg 729 KiB [emitted]
[1] 48f54f63d7711d0912a9a10205538fc4.ttf 192 KiB [emitted]
[1] 6493321d567eb0f22bd5112fbcf044a8.eot 39.5 KiB [emitted]
[1] 659c4d58b00226541ef95c3a76e169c5.woff2 68 KiB [emitted]
[1] 8b7a9afd7b95f62e6ee8a72930bfb9ed.woff 79.7 KiB [emitted]
[1] b48c48ea8457846a5695b139c377d3d1.ttf 39.3 KiB [emitted]
[1] b69de69a4ff8ca0abe96ec0b0c180c5b.ttf 123 KiB [emitted]
[1] bcb927a742a8370b76642fd1a9a749c0.woff 93.2 KiB [emitted]
[1] bdadb6ce95c5a2e7b673940721450d3c.woff2 14.5 KiB [emitted]
[1] ec0716ae8aa1ba781a1a6bcbce833f6c.eot 123 KiB [emitted]
[1] f29ad0031ad2c1c14b771ce504e2bfa7.eot 193 KiB [emitted]
[1] fb493903265cad425ccdf8e04fc2de61.woff2 72.1 KiB [emitted]
[1] renderer.prod.js 47.1 KiB 0 [emitted] main
[1] renderer.prod.js.map 148 KiB 0 [emitted] main
[1] style.css 51.7 KiB 0 [emitted] main
[1] style.css.map 103 KiB [emitted]
[1] Entrypoint main = style.css renderer.prod.js renderer.prod.js.map
[1] [./app/app.global.css] 39 bytes {0} [built]
[1] [./app/constants/routes.json] 42 bytes {0} [built]
[1] [./app/index.js] ./app/index.js + 13 modules 15.1 KiB {0} [built]
[1] | ./app/index.js 1.63 KiB [built]
[1] | ./app/containers/Root.js 1.38 KiB [built]
[1] | ./app/store/configureStore.js 333 bytes [built]
[1] | ./app/Routes.js 1.35 KiB [built]
[1] | ./app/store/configureStore.dev.js 1.84 KiB [built]
[1] | ./app/store/configureStore.prod.js 562 bytes [built]
[1] | ./app/containers/App.js 1.19 KiB [built]
[1] | ./app/containers/HomePage.js 1.2 KiB [built]
[1] | ./app/actions/counter.js 604 bytes [built]
[1] | ./app/containers/CounterPage.js 430 bytes [built]
[1] | ./app/reducers/index.js 265 bytes [built]
[1] | ./app/reducers/counter.js 297 bytes [built]
[1] | + 2 hidden modules
[1] [history] external "history" 42 bytes {0} [built]
[1] [opencv4nodejs] external "opencv4nodejs" 42 bytes {0} [built]
[1] [react] external "react" 42 bytes {0} [built]
[1] [react-dom] external "react-dom" 42 bytes {0} [built]
[1] [react-hot-loader] external "react-hot-loader" 42 bytes {0} [built]
[1] [react-redux] external "react-redux" 42 bytes {0} [built]
[1] [react-router] external "react-router" 42 bytes {0} [built]
[1] [react-router-dom] external "react-router-dom" 42 bytes {0} [built]
[1] [redux] external "redux" 42 bytes {0} [built]
[1] [redux-thunk] external "redux-thunk" 42 bytes {0} [built]
[1] + 19 hidden modules
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--5-1!app/app.global.css:
[1] Entrypoint mini-css-extract-plugin = *
[1] [./node_modules/css-loader/index.js?!./app/app.global.css] ./node_modules/css-loader??ref--5-1!./app/app.global.css 2.29 KiB {0} [built]
[1] + 18 hidden modules
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--6-1!app/components/Counter.css:
[1] Entrypoint mini-css-extract-plugin = *
[1] 2 modules
[1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--6-1!app/components/Home.css:
[1] Entrypoint mini-css-extract-plugin = *
[1] 2 modules
[1] yarn build-renderer exited with code 0
Done in 20.13s.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment