stable

Clone or download

Read-only

Manage the "build" of the fat|subsets* core JS files with Webpack

A plugin is introduced to manage the concatenation and global inclusion of the multiples JS files into one. This is needed because in the normal build process Webpack will wrap the code into a new scope, unfortunately those legacy files expect to be in the global scope. Also a "normal" Webpack config cannot have a empty 'entry' property so to bypass that and have a Webpack config that only deals with the legacy files a plugin has been created. Part of request #14384 Move all javascript build process to Webpack Everything is supposed to work as before. Change-Id: I7fe79d58a8ffa2fc8d987e259e9c9f3ac3f5f4e8

Modified Files

Name
M gulpfile.js +2 −104 Go to diff View file
M package-lock.json +25 −0 Go to diff View file
M package.json +2 −1 Go to diff View file
D src/etc/combined.conf.dist +0 −7 Go to diff View file
D src/www/scripts/combined/.git-dummy +0 −0 Go to diff View file
M src/www/scripts/webpack.config.js +108 −0 Go to diff View file
M tools/utils/scripts/tuleap-gulp-build.js +0 −26 Go to diff View file
A tools/utils/scripts/webpack-custom-plugins.js +30 −0 Go to diff View file