Skip to content

rollup - 'process' is not exported #49

@TobiaszCudnik

Description

@TobiaszCudnik

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions