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 stray require from lib/index.js #3855

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thomasjm
Copy link

To fix #3854.

This adds a fixup step to the build, so the proper version string gets inserted into lib/index.js.

For example, at the current version, the file is now

// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
export * from './utils';
export * from './version';
export * from './widget_link';
...
export * from './widget_upload';
export const version = "5.0.7";
//# sourceMappingURL=index.js.map

@github-actions
Copy link

Binder 👈 Launch a binder notebook on branch codedownio/ipywidgets/remove-require

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.

@jupyter-widgets/controls: require() call breaks ES module
1 participant