1
0
mirror of https://github.com/oceanprotocol/react.git synced 2025-01-23 00:18:12 +01:00

Merge pull request #11 from oceanprotocol/fix/build

different tactic for files inclusion for TypeScript
This commit is contained in:
mihaisc 2020-05-07 14:58:46 +03:00 committed by GitHub
commit 51b74ae412
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 10 deletions

View File

@ -1,5 +1,3 @@
import './@types/globals'
export * from './providers'
export * from './hooks'
// export * from './components'

View File

@ -1,10 +1,4 @@
import React, {
ReactNode,
useContext,
useState,
createContext,
useEffect
} from 'react'
import React, { useContext, useState, createContext, useEffect } from 'react'
import Web3 from 'web3'
import { getWeb3 } from './utils'

View File

@ -10,5 +10,5 @@
"sourceMap": true,
"declaration": true
},
"files": ["./src/index.ts"]
"include": ["./src/@types", "./src/index.ts"]
}