This repository has been archived by the owner on Apr 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Build web, node, and production bundle #338
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Output bundles should be called index.node.js and index.web.js to match the TS declaration files - plugin-transform-runtime was causing runtime errors. I removed it since it didn't seem to have an effect on the bundle size anyways
1 task
mrcnski
force-pushed
the
webpack
branch
2 times, most recently
from
March 2, 2021 15:59
fded92b
to
1c456bc
Compare
4 tasks
1 task
4 tasks
Closing in flavor of SkynetLabs/skynet-js#16 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
I've moved to Webpack and created two separate targets for
node
anddev
.TODO (followup PRs)
Production build deploy
skynet-js
HNS. I plan to include adeploy.js
script in the repo which uses the Node version of the library itself to upload the production file and save the skylink to the registry. (Deploy production builds when publishing #351)Update docs
File
and the latter lacks access to the local filesystem)