diff --git a/.npmignore b/.npmignore index adf5883..7c83fa2 100644 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,4 @@ .github .eslintrc.json title.png +delorean_pipeline.png diff --git a/README.md b/README.md index 299b60d..4fa08c7 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ ---- -slug: /api/misc/@coon-js/delorean ---- +# delorean -# 📦 delorean +![](title.png) Tool for transpiling modern ECMAScript to ES5 in Sencha Ext JS CI/CD pipelines . @@ -17,10 +15,20 @@ $ npm i --save-dev @coon-js/delorean ``` ## How it works -There is a [detailed blog post](https://medium.com/@thorstensuckow/sencha-ext-js-beyond-es5-a0382916b7a6.) available +**@coon-js/delorean** is an npm tool that provides an additional transpiling layer on top of Sencha CMD with the help of +[**Babel**](httpy://babel.dev). + +![](delorean_pipeline.png) + +For making this work, **delorean** alters the project file of the package or application and redirects source-roots to the +files that were processed and transpiled by Babel. This allows for using any JavaScript language feature in the project +code (even class syntax is now possible): With the default configuration of **delorean**, it will end up as ES5 code. + +There is a [detailed blog post](https://medium.com/@thorstensuckow/sencha-ext-js-beyond-es5-a0382916b7a6) available that explains the motivation, the purpose and the internal functionality of this tool for further reference. + ## Usage ```bash diff --git a/delorean_pipeline.png b/delorean_pipeline.png new file mode 100644 index 0000000..694d27c Binary files /dev/null and b/delorean_pipeline.png differ