Skip to content

Commit 4cf07ae

Browse files
committed
fix: keep react outside of the bundle
React is probably already cached with one of the other packages
1 parent 0ac8094 commit 4cf07ae

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default [
1313
},
1414
],
1515
// loaded externally
16-
external: ["atom"],
16+
external: ["atom", "react", "react-dom"],
1717
plugins: plugins,
1818
},
1919
]

src/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"preserveSymlinks": true,
1818
"removeComments": true,
1919
"jsx": "react",
20-
"jsxFactory": "etch.dom",
2120
"lib": ["ES2018", "dom"],
2221
"target": "ES2018",
2322
"allowJs": true,

0 commit comments

Comments
 (0)