fixup build process to better support front-end packages #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 inSRCS
and just write them to the output directory. Thetarget_node
is built in a way that should be compatible with Jest, and thetarget_webpack
directory is built in a way that should be compatible with Webpack.