canvas-lms/frontend_build
Ahmad Amireh 30a45abac9 add WEBPACK_ANALYSIS and WEBPACK_PEDANTIC flags
flag = none

set WEBPACK_PEDANTIC=0 to prevent the build from bailing on warnings
set WEBPACK_ANALYSIS=1 to generate an html report of the bundles

test plan ::

run webpack with the analysis flag and verify it 1) works and 2)
generates a report at tmp/webpack-bundle-analysis.html

    WEBPACK_ANALYSIS=1 \
    WEBPACK_PEDANTIC=0 \
    NODE_OPTIONS="--max_old_space_size=8096" \
      npx webpack

Change-Id: Icc77b2477c2fb9d3394e4c41d2377212f93534c6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/261892
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Ahmad Amireh <ahmad@instructure.com>
Product-Review: Ahmad Amireh <ahmad@instructure.com>
2021-05-05 19:59:46 +00:00
..
webpackHooks add webpack notification hooks for gnome/linux 2018-03-14 19:54:40 +00:00
SourceFileExtensionsPlugin.js extend JS source files without relying on filepath 2021-01-14 17:15:06 +00:00
baseWebpackConfig.js add WEBPACK_ANALYSIS and WEBPACK_PEDANTIC flags 2021-05-05 19:59:46 +00:00
bundles.js rename some things 2021-04-06 01:12:49 +00:00
emberHandlebars.js rename some things 2021-04-06 01:12:49 +00:00
i18n.js rename some things 2021-04-06 01:12:49 +00:00
i18nLinerHandlebars.js rename some things 2021-04-06 01:12:49 +00:00
i18nPlugin.js rename some things 2021-04-06 01:12:49 +00:00
momentBundles.js rename some things 2021-04-06 01:12:49 +00:00
webpackHooks.js Opt our js build tooling dirs into prettier 2018-11-07 22:46:16 +00:00
webpackPublicPath.js rename some things 2021-04-06 01:12:49 +00:00