Похожие чаты

#Ask #webpack #es6module #export #import #resolve Hello guys, i have this

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 ?

1 ответов

9 просмотров

Do you know what the asterisk operator does mean in your import?

Похожие вопросы

Обсуждают сегодня

Карта сайта