mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-10 13:55:45 +00:00
d4c04bbed7
* Now supports alternate import statements: * import {Token} from 'Embark/contracts'; * import * as Contracts from 'Embark/contracts'; as well as the existing syntax: * import Token from 'Embark/contracts/Token'; * Contracts js files moved from .embark to .embark/contracts * .embark/contracts/index.js generated on the fly which requires all contracts in .embark/contract automatically and then creates a module.exports with each of them.