[REM] web: remove es6 promise polyfill

Since Odoo now accepts ES2019 code anyway, I think that this polyfill
can safely be removed, to reduce assets size.

closes odoo/odoo#85800

Signed-off-by: Samuel Degueldre <sad@odoo.com>
This commit is contained in:
Géry Debongnie
2022-03-04 10:08:45 +00:00
parent 62f329d72f
commit 816e6ce374
2 changed files with 0 additions and 1178 deletions
-2
View File
@@ -56,7 +56,6 @@ This module provides the core of the Odoo Web Client.
'web/static/src/legacy/xml/week_days.xml',
],
'web.assets_common_minimal': [
'web/static/lib/es6-promise/es6-promise-polyfill.js',
'web/static/src/legacy/js/promise_extension.js',
'web/static/src/boot.js',
'web/static/src/session.js',
@@ -75,7 +74,6 @@ This module provides the core of the Odoo Web Client.
'web.assets_common_lazy': [
('include', 'web.assets_common'),
# Remove assets_common_minimal
('remove', 'web/static/lib/es6-promise/es6-promise-polyfill.js'),
('remove', 'web/static/src/legacy/js/promise_extension.js'),
('remove', 'web/static/src/boot.js'),
('remove', 'web/static/src/session.js'),
File diff suppressed because it is too large Load Diff