You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Individual functions import with ECMAScript modules work in browsers.
Actual behavior 😿
Global import using default export for voca is working:
import voca from 'voca';
However, individual function imports with ESM modules is not working:
Uncaught SyntaxError: The requested module '../node_modules/voca/starts_with.js' does not provide an export named 'default'
Steps to reproduce 👷
import startsWith from 'voca/starts_with';
Technical details: 🔧
Browser/OS type: Chrome 67
VocaJS version: 1.4.0
The text was updated successfully, but these errors were encountered:
lpellegr
changed the title
Individual function imports are not working with ES6 module imports
Individual function cannot be imported with ES6 module imports
Jul 17, 2018
lpellegr
changed the title
Individual function cannot be imported with ES6 module imports
Individual function cannot be imported with ES6 imports
Jul 17, 2018
Expected behavior 😸
Individual functions import with ECMAScript modules work in browsers.
Actual behavior 😿
Global import using default export for voca is working:
However, individual function imports with ESM modules is not working:
Steps to reproduce 👷
Technical details: 🔧
Browser/OS type: Chrome 67
VocaJS version: 1.4.0
The text was updated successfully, but these errors were encountered: