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

[Docs] Add src/ alias as withvoid/melting-pot in demos #1

Closed
adeelibr opened this issue Jan 15, 2019 · 2 comments
Closed

[Docs] Add src/ alias as withvoid/melting-pot in demos #1

adeelibr opened this issue Jan 15, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@adeelibr
Copy link
Member

Currently in docs we have to access the core modules via relative paths e.g, import { useOnlineStatus } from '../../../src'; we need to replace it with import { useOnlineStatus } from @withvoid/melting-pot;

For this we need to add a plugin in the doczrc.js that handles an alias similar to what webpack does.

@adeelibr adeelibr added the enhancement New feature or request label Jan 15, 2019
@adeelibr
Copy link
Member Author

This helps with the discussion for this issue doczjs/docz#373 I have decided to opt for .babelrc option.

@adeelibr
Copy link
Member Author

Resolved in #35

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

No branches or pull requests

1 participant