mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-11 10:34:06 +00:00
982d79c0d0
* remove flow from src * remove unused files * remove rules from eslint * replace absolute paths * add tsconfig * update package.json * remove babel-polyfill * eslint fix * remove jsconfig.json * replace .scss by .module.scss * Revert "replace absolute paths" This reverts commit e430c71263a1a4c190d50e72271bba7ea6356bc4. * replace ~/ by src/ * js fixes * scss fixes * fix unused vars * adding eslint * adding back config folder * fix eslint and prettier * force build * fix baseUrl * rename js/jsx to ts/tsx * some rules * rename files with jsx syntax to tsx * fix app build * Revert "fix baseUrl" This reverts commit 523f29c7b61e14dd6be0ffc3cd199ff399157467. * some fixes * replace ts to tsx * some TS fixes * more tsc changes * more tsc fixes * more fixes * more ts fixes * more fixes * last fix * fixes * prettier fix * some fixes * fix safe information aligment * add yarn.lock * fix blockies and build memory space * include blockies in tsconfig * fix blockies * fix blockies import * fix Identicon component * fix build command * Fix ref type in Identicon * add libusb-1.0-0-dev to travis * build command fix [2] * build command fix [3] * fix margin layout * Update yarn lock * remove @ts-ignore * hide Critial dependency Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com> Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com> Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com>
15 lines
345 B
JavaScript
15 lines
345 B
JavaScript
const webpack = require('webpack')
|
|
|
|
module.exports = function override(config) {
|
|
if (!config.plugins) {
|
|
config.plugins = []
|
|
}
|
|
config.plugins.push(
|
|
new webpack.ContextReplacementPlugin(/\/truffle-(contract|interface-adapter)\//, (data) => {
|
|
delete data.dependencies[0].critical
|
|
return data
|
|
}),
|
|
)
|
|
return config
|
|
}
|