Skip to content

Commit

Permalink
[WIP] Unify JIT and AOT code paths (#4188)
Browse files Browse the repository at this point in the history
* WIP

* WIP

* Finish combining JIT and AOT plugins

Still lots of clean up that can be done in some of the more complex ones, but at least it's one file per plugin now.

* Remove unused import

* Fix AOT generation bugs

* Move corePlugins/index.js to corePlugins.js

* Convert JIT files to ESM

* Move tests

* Reorder core plugins to match JIT order

* Update AOT apply tests

* Unify utils

* Combine plugin lists to one single source of truth

* Finish resolving merge conflicts, fix tests

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
  • Loading branch information
RobinMalfait and adamwathan committed Apr 30, 2021
1 parent 54aa5be commit bfc6162
Show file tree
Hide file tree
Showing 340 changed files with 349,628 additions and 351,747 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
@@ -1,4 +1,4 @@
/lib
/docs
/__tests__/fixtures/cli-utils.js
/tests/fixtures/cli-utils.js
/stubs/*
25 changes: 0 additions & 25 deletions jit/corePlugins/accessibility.js

This file was deleted.

22 changes: 0 additions & 22 deletions jit/corePlugins/alignContent.js

This file was deleted.

19 changes: 0 additions & 19 deletions jit/corePlugins/alignItems.js

This file was deleted.

19 changes: 0 additions & 19 deletions jit/corePlugins/alignSelf.js

This file was deleted.

39 changes: 0 additions & 39 deletions jit/corePlugins/animation.js

This file was deleted.

5 changes: 0 additions & 5 deletions jit/corePlugins/appearance.js

This file was deleted.

7 changes: 0 additions & 7 deletions jit/corePlugins/backgroundAttachment.js

This file was deleted.

1 change: 0 additions & 1 deletion jit/corePlugins/backgroundBlendMode.js

This file was deleted.

8 changes: 0 additions & 8 deletions jit/corePlugins/backgroundClip.js

This file was deleted.

29 changes: 0 additions & 29 deletions jit/corePlugins/backgroundColor.js

This file was deleted.

15 changes: 0 additions & 15 deletions jit/corePlugins/backgroundImage.js

This file was deleted.

15 changes: 0 additions & 15 deletions jit/corePlugins/backgroundOpacity.js

This file was deleted.

1 change: 0 additions & 1 deletion jit/corePlugins/backgroundOrigin.js

This file was deleted.

15 changes: 0 additions & 15 deletions jit/corePlugins/backgroundPosition.js

This file was deleted.

10 changes: 0 additions & 10 deletions jit/corePlugins/backgroundRepeat.js

This file was deleted.

15 changes: 0 additions & 15 deletions jit/corePlugins/backgroundSize.js

This file was deleted.

6 changes: 0 additions & 6 deletions jit/corePlugins/borderCollapse.js

This file was deleted.

35 changes: 0 additions & 35 deletions jit/corePlugins/borderColor.js

This file was deleted.

15 changes: 0 additions & 15 deletions jit/corePlugins/borderOpacity.js

This file was deleted.

0 comments on commit bfc6162

Please sign in to comment.