mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
implement mainFields in webpack config
This commit is contained in:
@@ -18,6 +18,7 @@ module.exports = {
|
||||
],
|
||||
},
|
||||
resolve: {
|
||||
mainFields: ['browser', 'module', 'main'],
|
||||
extensions: ['.tsx', '.ts', '.js', '.jsx'],
|
||||
fallback: {
|
||||
bufferutil: false,
|
||||
|
||||
Reference in New Issue
Block a user