From: Bill Erickson Date: Wed, 20 Dec 2017 16:13:10 +0000 (-0500) Subject: LP#1739803 Webstaff: Replace Grunt with Webpack X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fberick%2Flp1626157-ang-1.6-plus-webpack;p=working%2FEvergreen.git LP#1739803 Webstaff: Replace Grunt with Webpack * Remove grunt devDependencies * Add Webpack devDepenencies * Copy and minify operations are now handled by Webpack via 'npm run build' for dev builds and 'npm run build-prod' for production/minified builds. * Running 'npm run build-watch' executes webpack in --watch mode to watch for affected file changes and automatically rebuild. Useful for development. * Karma unit tests are now invoked directly from node via 'npm run test'. * Docs and release installer updated to match. * Removed long-outdated inline installer readme. Webpack is configured to create bundles from sets of JS files. As it stands, there are 2 sets: core.bundle.js and vendor.bundle.js. Core has all of the EG core services that are loaded on every page. Vendor contains all of the 3rd-party dependencies (angular, etc.). These 2 bundles are loaded on every web staff page (via base_js.tt2). All other -[% IF EXPAND_WEB_IMPORTS %] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -[% ELSE %] + + + - - + + + -[% END %] + +