-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Now it works only by this way:
import * as Search from 'b:Search';
console.log(Search);Because we transpile it to:
const Search = ((
(__webpack_require__(2).default || __webpack_require__(2)).applyDecls()
));
// ts use it like this
console.log(Search);But! If we want use default export only:
import Search from 'b:Search';
console.log(Search);const Search = ((
(__webpack_require__(2).default || __webpack_require__(2)).applyDecls()
));
// ts use it like this
console.log(Search.default); // .default -> undefinedWe need to transpile it like this:
const Search = {
default: ((
(__webpack_require__(2).default || __webpack_require__(2)).applyDecls()
))
};Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels