module
//module.js
export { foo, bar } from 'vendor'
then i import them to my main.js
import * as fooBar from './module.js'
but what I get in bundle.js is not foo & bar, instead all the content in vendor are imported.
I will appreciate if anyone can help me and explain why ?
Do you know what the asterisk operator does mean in your import?
Обсуждают сегодня