HUE-8940 [frontend] Dynamically add generated bundles to the page

Review Request #14228 - Created Aug. 20, 2019 and updated

Johan Åhlén
hue
master
hue
jgauthier, ranade, romain, roohi, weixia, yingc
commit 76c740ae4df1a7e2063cd39ad49dc38fde1e4d1b
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Tue Aug 20 14:24:36 2019 +0200

    HUE-8940 [frontend] Dynamically add generated bundles to the page
    
    With the introduced production mode for webpack it will generate a different set of bundles than in dev mode, this adds functionality to render all bundles for a specific app including the related vendor bundles.

:100644 100644 43a37d770f 93d2c52140 M	apps/metastore/src/metastore/templates/metastore.mako
:100644 100644 f1ae6d8b28 66b4199b41 M	desktop/core/src/desktop/templates/common_header.mako
:100644 100644 7ff3fcf5dc 17cf375b8f M	desktop/core/src/desktop/templates/common_header_m.mako
:100644 100644 8da9070df9 04f7b825cd M	desktop/core/src/desktop/templates/hue.mako
:000000 100644 0000000000 b2f97997de A	desktop/core/src/desktop/webpack_utils.py
:100644 100644 12eed4735d 578f8dcadc M	desktop/libs/notebook/src/notebook/templates/editor_components.mako

commit a7e9d70eef57be789e84d02c6c15a84dc5fc0ee4
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Tue Aug 20 14:23:00 2019 +0200

    HUE-8940 [frontend] Add production mode to webpack build
    
    It's now possible to generate optimized webpack bundles for production by adding -- --env.production to the build commands, for example:
    
    npm run webpack -- --env.production

:100644 100644 e9c0864ac3 c17ac26143 M	package-lock.json
:100644 100644 e8cfb62569 75e8ab1bd7 M	package.json
:100644 100644 ef4d58e660 e32a5eac67 M	webpack.config.js
:100644 000000 7f4c9fb0d8 0000000000 D	webpack.config.login.js
:100644 000000 f350cfdde5 0000000000 D	webpack.config.workers.js

commit 3c9ae7cec20b3c19f93a6c244fa5ba256793b7ac
Author: Johan Ahlen <johan@johanahlen.com>
Date:   Mon Aug 19 16:12:06 2019 +0200

    HUE-8940 [core] Prevent optimization warning for large parsers

:100644 000000 847aafac6d 0000000000 D	.babelrc
:100644 100644 bed64d15d0 f487299376 M	.circleci/config.yml
:100644 100644 d982adc793 bfacf6fe8f M	Makefile
:100644 100644 a9b808d63a 9cb3f8533e M	Makefile.tarball
:000000 100644 0000000000 78343a7f8c A	babel.config.js
Manual on Chrome
  • 3
  • 0
  • 0
  • 0
  • 3
Description From Last Updated
FI: test specific still works? ./build/env/bin/hue test specific beeswax.management.commands Romain Rigaux
move to desktop/core/src/desktop/lib/webpack_utils.py ? (with other utils) Romain Rigaux
Automatically tested via unit test or need a single test? Romain Rigaux
  1. Nice one and nice aggregation!

    Would need a canary build to make sure it does not break autocherrypick

  2. FI: test specific still works?

    ./build/env/bin/hue test specific beeswax.management.commands

  3. move to

    desktop/core/src/desktop/lib/webpack_utils.py
    
    ?
    
    (with other utils)
    
  4. Automatically tested via unit test or need a single test?

  5. 
      
Loading...