Decide & Implement Webpack configuration for a Single Codebase
Problem:
With https://gitlab.com/gitlab-org/gitlab-ee/issues/8711 we will merge our 2 code bases into one. We do not want to include EE-licensed feature in our CE package, we can handle that by:
- add a
webpack.DefinePlugin
to our config as suggested here - we add a check within
gitlab:assets:compile
(we'll have both a CE and EE version of these jobs in the single codebase) to ensure no modules from the/ee
directory exist in the CE build.
Note: All Frontend code will be MIT licensed