[GH-ISSUE #50] Implement ES6 export module #30

Open
opened 2026-03-03 00:02:51 +03:00 by kerem · 1 comment
Owner

Originally created by @nikita-lobkov on GitHub (Oct 1, 2020).
Original GitHub issue: https://github.com/atulmy/gql-query-builder/issues/50

Hello.
Angular 10 show a warning for every dependency that is imported in ES5. From now, angular require ES6 module to optimize build process.

More info here:
https://angular.io/guide/build#configuring-commonjs-dependencies

Gql-query-builder show warning like this:
my-service.ts depends on 'gql-query-builder'. CommonJS or AMD dependencies can cause optimization bailouts.

Can this cool stuff for sure have ES6 export module as well within current commonJS?

Thanks and have a great day:)

Originally created by @nikita-lobkov on GitHub (Oct 1, 2020). Original GitHub issue: https://github.com/atulmy/gql-query-builder/issues/50 Hello. Angular 10 show a warning for every dependency that is imported in ES5. From now, angular require ES6 module to optimize build process. More info here: https://angular.io/guide/build#configuring-commonjs-dependencies Gql-query-builder show warning like this: `my-service.ts depends on 'gql-query-builder'. CommonJS or AMD dependencies can cause optimization bailouts.` Can this cool stuff for sure have ES6 export module as well within current commonJS? Thanks and have a great day:)
Author
Owner

@atulmy commented on GitHub (Oct 1, 2020):

@nikita-lobkov thanks for identifying the warning. Please feel free to submit a PR, I'll quickly look into it.

<!-- gh-comment-id:702156056 --> @atulmy commented on GitHub (Oct 1, 2020): @nikita-lobkov thanks for identifying the warning. Please feel free to submit a PR, I'll quickly look into it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gql-query-builder#30
No description provided.