Skip to content

Commit 8235c6f

Browse files
authored
docs: add proccess outline
1 parent 64a32f6 commit 8235c6f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ export default {
4444
4545
Then call `rollup` either via the [CLI](https://www.rollupjs.org/guide/en/#command-line-reference) or the [API](https://www.rollupjs.org/guide/en/#javascript-api).
4646

47+
## Proccess
48+
49+
1. Creating a list of the exported functions and variables from the index file
50+
2. Removing non-compatible statements: `['ExpressionStatement', 'DebuggerStatement', 'ImportDeclaration', 'ExportNamedDeclaration'];`
51+
3. Converting function and variable declarations into `.jsx` compliant syntax
52+
4. Wrapping in braces (`{}`)
53+
4754
## Meta
4855

4956
[CONTRIBUTING](/.github/CONTRIBUTING.md)

0 commit comments

Comments
 (0)