Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

bundle size cut


hi keenthemes

Ho safe it is, to remove those plugins from the compiling bundle "'theme/html/tools/webpack/plugins/plugins.js'" :



// ES6-Shim - ECMAScript 6 compatibility shims for legacy JS engines. Learn more: https://github.com/paulmillr/es6-shim
require("es6-shim/es6-shim.min.js");


// ES6 Promise Polyfill - This is a polyfill of the ES6 Promise: https://github.com/lahmatiy/es6-promise-polyfill
require('es6-promise-polyfill/promise.min.js');

or are they mandatory ?

since I expect my users to use the latest browsers.

thank you


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)


Hi Riterix,

This library doc stated that it can support IE9 and below.
https://github.com/lahmatiy/es6-promise-polyfill

This library is used for sweetalert2. If you have not used sweetalert2 in your project, you can remove it.

https://github.com/paulmillr/es6-shim/
es6-shim library used in formvalidation plugin.

At the moment, Metronic only supports the latest major version of browsers.

Thanks



Thank you sooo much for the calrification Faizal. it was very informative.

I don't use neither (Sweetalert2 or Formvalidation), cool

thank you.



Your welcome happy

Feel free to let us know if you need any help.

Thanks



Hi riterix,

It's safe to remove these 2 plugins if the users use the latest version of browsers.

Thanks



Hi Faizal,

How Latest browsers should be ?, like the minimum ?

Let just say for Firefox ; what's the latest should be, 74 ? 85 ?

same thing for Chrome, could you give us a hint please..

SO just to let our client know that under certain version our product will not perform well

thank you so much


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(