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

Add --development and --source-map flags for building extensions. #8961

Merged
merged 2 commits into from
Sep 6, 2020

Conversation

jasongrout
Copy link
Contributor

@jasongrout jasongrout commented Sep 5, 2020

References

Fixes #8952

Code changes

By default, we build a lab extension in production mode (and without large source maps).

The development flag implies the source-map flag.

The --source-map flag is there so that you can generate source maps even in production mode, for debugging problems that may appear in production mode, or in case you really want to distribute source map files in your package.

User-facing changes

Backwards-incompatible changes

The development flag implies the source-map flag. Normally, in production mode, source map files are not generated.
@jupyterlab-dev-mode
Copy link

Thanks for making a pull request to JupyterLab!

To try out this branch on binder, follow this link: Binder

@jasongrout jasongrout added this to the 3.0 milestone Sep 5, 2020
Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! Looks like the lint build is complaining.

@jasongrout
Copy link
Contributor Author

Fixed the lint problems. Thanks for the review!

@jasongrout jasongrout merged commit 13c77d3 into jupyterlab:master Sep 6, 2020
@github-actions github-actions bot added the status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Mar 5, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. tag:Extensions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiling extensions without source map files
2 participants