remove resize observer polyfill
This commit is contained in:
parent
94ebfd50d0
commit
9e73289bfc
@ -61,6 +61,7 @@ module.exports = bundleAnalyzer({ enabled: !!process.env.ANALYZE })({
|
||||
productionBrowserSourceMaps: true,
|
||||
webpack: config => {
|
||||
config.externals = [...config.externals, 'bcrypt', 'mysql2'];
|
||||
config.resolve.alias['resize-observer-polyfill'] = path.resolve(__dirname, 'resize-observer.cjs');
|
||||
return config;
|
||||
}
|
||||
});
|
||||
|
1
resize-observer.cjs
Normal file
1
resize-observer.cjs
Normal file
@ -0,0 +1 @@
|
||||
module.exports = globalThis.ResizeObserver;
|
Loading…
Reference in New Issue
Block a user