Skip to content
Unverified Commit 22802183 authored by Zeke Mostov's avatar Zeke Mostov Committed by GitHub
Browse files

fix(types)!: polkadot/api to v4 w. esm; Use substrate/dev for build (#404)

* fix(types)!: polkadot/api to v4 w. esm; Use substrate/dev for build

BREAKING CHANGE
Emitted .js is now es2020, requiring node >= 12.

## Changes
- Use @substrate/dev for build configuration
    - new tsconfig.json targets es2019
    - prettier is now uses hard tabs and 2 spaces, which causes the huge diff
    - some slight type annotations where necessary for claims.ts and method.ts in order to pass the stricter tsconfig
    - Babel is now used to transpile the @polkadot/* packages `.js` from ESM to CJS for jest
parent c7b56d78
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment