Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.

feat: Allow parsing/compiling of content only data without files and include declaration files #40

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Saw-mon-and-Natalie
Copy link
Contributor

This PR extends the parsing/compiling functionality so that we can also parse data without the need to have the data to be stored in a file beforehand. This is useful if other libraries/packages would like to use huffc in their codebases.

Also, we have modified the tsconfig.json file so that the yarn build process would emit declaration and mapping files. Again, this is useful when huffc is being used in other packages.

The minor version for the package.json has also been incremented.

I've tried to keep the commits in this PR as atomic as possible for an easier review process.

Copy link
Member

@Maddiaa0 Maddiaa0 left a comment

Choose a reason for hiding this comment

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

Overall great, One question - how would this respond to #include statements importing other files?

tsconfig.json Show resolved Hide resolved
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants