feat: sync and update with all changes from fork (#720)
* feat: sync and update with all changes from fork * refactor: extract clipboard copy logic into custom hook * fix: correct spelling of DEFAULT_REFRESH_FREQUENCY_MS in Stamps and WalletBalance providers * refactor(ui-tests): replace fixed sleeps with condition-based waits * fix: handle null values for size and granteeCount in infoGroups * fix(lint): add newline at end of file in useClipboardCopy hook * fix(ui-tests): page.goto URL * refactor: update import paths for useClipboardCopy --------- Co-authored-by: Ferenc Sárai <sarai.ferenc@gmail.com>
This commit is contained in:
+7
-37
@@ -1,50 +1,20 @@
|
||||
'use strict'
|
||||
|
||||
module.exports = function (api) {
|
||||
const targets = '>1% and not ie 11 and not dead'
|
||||
module.exports = api => {
|
||||
api.cache(true)
|
||||
api.cacheDirectory = true
|
||||
|
||||
return {
|
||||
presets: [
|
||||
['@babel/preset-env', { targets: { node: 'current' }, modules: 'commonjs' }],
|
||||
'@babel/preset-typescript',
|
||||
[
|
||||
'@babel/preset-env',
|
||||
{
|
||||
targets,
|
||||
modules: false,
|
||||
}
|
||||
],
|
||||
['@babel/preset-react', {runtime: 'automatic' }]
|
||||
['@babel/preset-react', { runtime: 'automatic' }],
|
||||
],
|
||||
plugins: [
|
||||
[
|
||||
"babel-plugin-tsconfig-paths",
|
||||
{
|
||||
"relative": true,
|
||||
"extensions": [
|
||||
".js",
|
||||
".jsx",
|
||||
".ts",
|
||||
".tsx",
|
||||
".es",
|
||||
".es6",
|
||||
".mjs"
|
||||
],
|
||||
"rootDir": ".",
|
||||
"tsconfig": "tsconfig.lib.json",
|
||||
}
|
||||
],
|
||||
"@babel/plugin-proposal-numeric-separator",
|
||||
"syntax-dynamic-import",
|
||||
'@babel/plugin-proposal-class-properties',
|
||||
[
|
||||
'@babel/plugin-transform-runtime',
|
||||
{
|
||||
helpers: false,
|
||||
regenerator: true
|
||||
}
|
||||
]
|
||||
]
|
||||
regenerator: true,
|
||||
},
|
||||
],
|
||||
],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user