Skip to content

Commit d72be92

Browse files
committed
Improve comment in rollup config
1 parent c8bd18d commit d72be92

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.config/rollup.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ export default {
1818
* Can't import the named export 'useContext' from non EcmaScript
1919
* module (only default export is available)
2020
*
21+
* This error occurred in a Webpack 4 app (Create React App). We can
22+
* hopefully remove the `interop` key if React decides to publish an
23+
* ES module and/or Webpack 4 usage declines.
24+
*
25+
* -----
26+
*
2127
* Here is the Rollup documentation on `defaultOnly`:
2228
*
2329
* Named imports are forbidden. If such an import is encountered,

0 commit comments

Comments
 (0)