(baseConfig)
| 74 | }; |
| 75 | |
| 76 | function createBaseBrowserConfig(baseConfig) { |
| 77 | return { |
| 78 | ...baseConfig, |
| 79 | name: 'browser', |
| 80 | optimization: { |
| 81 | minimizer: [new TerserPlugin(), new CssMinimizerPlugin()], |
| 82 | }, |
| 83 | plugins: [ |
| 84 | ...(baseConfig.plugins ?? []), |
| 85 | ...sharedPlugins, |
| 86 | new webpack.ProvidePlugin({ |
| 87 | Buffer: ['buffer', 'Buffer'], |
| 88 | }), |
| 89 | new CleanWebpackPlugin({ |
| 90 | cleanOnceBeforeBuildPatterns: [], |
| 91 | }), |
| 92 | ], |
| 93 | node: { |
| 94 | global: true, |
| 95 | }, |
| 96 | }; |
| 97 | } |
| 98 | |
| 99 | async function getConfigs() { |
| 100 | const [alchemySecret, walletConnectSecret, neynarSecret] = await Promise.all([ |
no outgoing calls
no test coverage detected