Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rollup - 'process' is not exported #49

Open
TobiaszCudnik opened this issue May 28, 2019 · 0 comments
Open

rollup - 'process' is not exported #49

TobiaszCudnik opened this issue May 28, 2019 · 0 comments

Comments

@TobiaszCudnik
Copy link

While trying to bundle with rollup, theres an export issue:

Error: 'process' is not exported by ../../node_modules/core-worker/index.js

It'd also be nice if you'd use only standardized JS features, so one could import directly from the source.

Unfortunately at the moment while importing from core-worker/src/index:

[!] (commonjs plugin) SyntaxError: Unexpected token (21:23) in .../node_modules/core-worker/src/index.js
../../node_modules/core-worker/src/index.js (21:23)
19: import TProcess from "./Process";
20:
21: export const process = ::TProcess.create;
                           ^
22: export const Process = TProcess;

Yes, its still stage 0 in 2019...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant