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

fixup build process to better support front-end packages #6

Conversation

spalger
Copy link

@spalger spalger commented Oct 7, 2021

misc cleanup of the copied package for the purpose of creating a front-end package which can be imported in node (for Jest compatibility) and from front-end bundles built with Webpack.

This modifies the jsts_transform function to pass babel the --copy-files argument so that it will ignore assets selected in SRCS and just write them to the output directory. The target_node is built in a way that should be compatible with Jest, and the target_webpack directory is built in a way that should be compatible with Webpack.

Spencer and others added 2 commits October 7, 2021 21:34
@Dosant Dosant merged commit ec391e2 into Dosant:d/2021-10-06-try-extract-component-from-kibana-react Oct 12, 2021
@spalger spalger deleted the pr/114129 branch October 12, 2021 14:07
Dosant pushed a commit that referenced this pull request Apr 28, 2022
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.

3 participants