Move from web3modal to walletconnect v2 (#64)

Co-authored-by: Gregorio Granado Magalhaes <greg.magalhaes@gmail.com>
This commit is contained in:
Simon Bihel
2023-06-22 17:21:15 +01:00
committed by GitHub
parent 3278ff752a
commit 1c29815376
8 changed files with 4650 additions and 18750 deletions

View File

@@ -8,7 +8,7 @@ const prod = mode === 'production';
module.exports = {
entry: {
'build/bundle': ['./src/main.ts']
'bundle': ['./src/main.ts']
},
resolve: {
alias: {
@@ -31,8 +31,12 @@ module.exports = {
// util: false,
}
},
optimization: {
runtimeChunk: 'single',
},
output: {
path: path.join(__dirname, '../../static'),
path: path.join(__dirname, '../../static/build'),
publicPath: "/build/",
filename: '[name].js',
chunkFilename: '[name].[id].js'
},
@@ -96,7 +100,7 @@ module.exports = {
new MiniCssExtractPlugin({
filename: '[name].css'
}),
new webpack.EnvironmentPlugin(prod ? ['INFURA_ID', 'PORTIS_ID', 'FORTMATIC_KEY'] : []),
new webpack.EnvironmentPlugin(prod ? ['PROJECT_ID'] : []),
],
devtool: prod ? false : 'source-map',
devServer: {