mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-01-18 05:59:13 +01:00
6659152145
* build: relax transpilation for es modules ES module output currently includes regenerator runtime functions which can block strict content security policies. For an ES module output this isn't required because any runtime supporting ES modules will also support async/await natively. It is also highly likely that users of the ES module would also be performing their own transipliation of async/await and we should not make assumptions on their behalf (some may prefer promises to regenerator, for example). This commit splits the babel config into two; an unchanged one for the UMD output, and another for module output. * build: override babel settings from plugin