-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Description
Feature request
There is new export syntax: export * as ns (stage 4).
https://github.com/tc39/proposal-export-ns-from
export * as ns from './test';Currently this will error:
ERROR in ./src/proxy.js 1:9
Module parse failed: Unexpected token (1:9)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> export * as ns from './test';
@ ./src/index.js 1:0-29 2:12-14
FWIW, TypeScript recently added support for this: https://devblogs.microsoft.com/typescript/announcing-typescript-3-8/#export-star-as-namespace-syntax
What is the expected behavior?
What is motivation or use case for adding/changing the behavior?
How should this be implemented in your opinion?
Are you willing to work on this yourself?
yes
Heartnett, DmitriyIvanko, cesaric, hyperupcall, jknight12882 and 15 moreDmitriyIvanko, Rugvip, sergei-startsev and alexweininger
Metadata
Metadata
Assignees
Labels
No labels