Skip to content

Conversation

Antanukas
Copy link
Contributor

  • Using solc compile function which calls a callback when import statement gets detected. This function is responsible for loading file source.
  • Upgraded solc version to latest just in case.

@uzyn
Copy link
Owner

uzyn commented Jun 13, 2016

@Antanukas Thanks. Can you link to a solidity code that we could test this new feature?

On a separate note, we're going to need unit tests and better management on the loaders soon. (uzyn/ethereum-webpack-example-dapp#3 is a good start)

Antanukas pushed a commit to Antanukas/ethereum-webpack-example-dapp that referenced this pull request Jun 14, 2016
@Antanukas
Copy link
Contributor Author

Antanukas commented Jun 14, 2016

I have updated example-dapp with additional contract in external file which gets imported. Also added dummy library that gets imported. https://github.com/Antanukas/ethereum-webpack-example-dapp

This also tests web3-loader

@graup
Copy link
Collaborator

graup commented Jun 22, 2016

Thanks @Antanukas, just what I needed now! You just saved me a lot of time.

This works for me, let's get it merged!

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