Skip to content

Commit c7df9d9

Browse files
Update README.md
1 parent f2fdc58 commit c7df9d9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,13 @@ but some common issues are below:
5858

5959
- In some cases, Parcel encounters errors in resolving url paths in SASS/SCSS if the path is absolute, or if it uses single or double quotes
6060
- When destructuring some named exports from node modules (e.g, 'import { render } from 'react-dom';), rollup may encounter an error. We have included some rules to account for this in our configuration, such as the most common examples in React, but obviously there is no way to anticipate what will be in your project in advance. To add more named exports to your rollup config, please add them to the commonjs plugin in the rollup config as follows:
61-
```commonjs({
61+
```
62+
commonjs({
6263
include: 'node_modules/**',
6364
namedExports: {
6465
'node_modules/react-dom/index.js': ['render', 'findDOMNode'],
65-
},```
66+
},
67+
```
6668
- There is no hard and fast rule yet for how to order rollup plugins to ensure they will run properly. We attempted to find the order that resolves the most cases, but you may need to reorder the rollup plugins to see what works with your project.
6769

6870
And finally, Bundle Bee is still in development, so bear with us as we iron out all the kinks!

0 commit comments

Comments
 (0)