ckeditor / ckeditor5-design

☠ Early discussions about CKEditor 5's architecture. Closed now. Go to https://github.com/ckeditor/ckeditor5 ☠
58 stars 12 forks source link

Builder #119

Closed Reinmar closed 7 years ago

Reinmar commented 8 years ago

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.

Reinmar commented 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).