simplajs / simpla

Open, modular, and serverless content management for a modern web
https://www.simplajs.org
MIT License
527 stars 36 forks source link

Ensure imported polyfills are minified #33

Closed madeleineostoja closed 7 years ago

madeleineostoja commented 8 years ago

Seems some of the polyfills that Simpla depends on aren't being minified (eg: promise-polyfill/Promise.js). Ensure we're pulling minified versions, or minify it ourselves in a buildstep.

madeleineostoja commented 7 years ago

Should be fixed with #37

bedeoverend commented 7 years ago

Also worth noting that that particular polyfill is being required by iron-ajax and potentially a few other Polymer components, which should be resolved once we move to the SDK rather than making AJAX calls from within Simpla components.

madeleineostoja commented 7 years ago

Effective dupe of #49 - will be using babel transforms for minor polyfills, and not bundling wc polyfill at all. Closing in favour of that issue.