Closed Reinmar closed 7 years ago
We dropped the idea of a custom compilation steps which was gathering files from all the packages into simple "build". We based on ES6 modules and normal, Node.js compatible way of resolving paths (which is supported by Webpack, Browserify and Rollup with plugins).
Based on the current state of things I've posted the https://github.com/ckeditor/ckeditor5-design/wiki/Building article. It explains how we understand building (that it's not bundling), common scenarios and how it relates to module paths.
This model currently works for us very well. The previous one was based on AMD modules and tuning up Require.JS so its able load files from multiple weird paths. That model was insufficient as:
The implementation of the builder helped us in cleaning up this situation and opened new possibilities.