Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

just publish the src directory, no need to copy the output #16

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

oveddan
Copy link
Contributor

@oveddan oveddan commented Aug 8, 2023

We can just have npm include the src directory, instead of needing to copy it to the dist folder.

This also allows the contracts to be imported like:

import {IProtocolRewards} from "@zoralabs/protocol-rewards/src/contracts/interfaces/IProtocolRewards.sol";

@oveddan oveddan requested a review from kulkarohan August 8, 2023 05:05
@kulkarohan
Copy link
Collaborator

hype. thanks!

@kulkarohan kulkarohan merged commit df094e2 into main Aug 8, 2023
2 checks passed
@kulkarohan kulkarohan deleted the publish-src branch August 8, 2023 15:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants