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

Remove additional babel packages and webpack configuration #19

Merged
merged 1 commit into from
Oct 26, 2018

Conversation

ricricucit
Copy link
Contributor

@ricricucit ricricucit commented Oct 26, 2018

This an alternative (and to my knowledge "cleaner") solution for inherited babel packages and configuration (see Transpilation PR on JS-SDK).

This way, an Aepp developer does not need to install any of the SDK required packages and configurations, in order to have the transpilation and treeshaking of the SDK modules.

The only needed config is at bundling level (Webpack), adding the SDK and the rlp libs to the default setup, usually excluding node_modules path:

exclude: /node_modules/, // default exclusion for many front-end projects
include: [/node_modules\/@aeternity/, /node_modules\/rlp/], // additional row to have transpilation and tree-shaking of SDK modules

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

Successfully merging this pull request may close these issues.

None yet

1 participant