Skip to content

Commit d455369

Browse files
SpadarShutFezVrasta
authored andcommitted
fix: Can't import the named export 'createElement' (FezVrasta#36)
tried to switch to beta 6 and got the following webpack errors: > Can't import the named export 'createElement' from non EcmaScript module (only default export is available) A bit of searching showed that there's a problem with default webpack config and packages that export .mjs files. More details here apollographql/react-apollo#1737 This PR removes the mjs entry from package.json.
1 parent 464352b commit d455369

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
],
2626
"main": "dist/index.js",
2727
"umd:main": "dist/index.umd.js",
28-
"module": "dist/index.mjs",
2928
"source": "src/index.js",
3029
"scripts": {
3130
"start": "microbundle watch",

0 commit comments

Comments
 (0)