Skip to content

Commit

Permalink
docs: update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ThorstenSuckow committed Nov 21, 2022
1 parent 381151c commit 07efaa3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.github
.eslintrc.json
title.png
delorean_pipeline.png
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -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 .

Expand All @@ -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
Expand Down
Binary file added delorean_pipeline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 07efaa3

Please sign in to comment.