@web/rollup-plugin-polyfills-loader
Advanced tools
Comparing version 1.0.5 to 1.0.6
# @web/rollup-plugin-polyfills-loader | ||
## 1.0.6 | ||
### Patch Changes | ||
- 338f22b6: Inject the polyfills loader also when only using regeneratorRuntime with 'always' value. | ||
## 1.0.5 | ||
@@ -4,0 +10,0 @@ |
@@ -21,5 +21,5 @@ "use strict"; | ||
return !!(config.polyfills && | ||
Object.entries(config.polyfills).some(([k, v]) => !['hash', 'custom'].includes(k) && v === true)); | ||
Object.entries(config.polyfills).some(([k, v]) => !['hash', 'custom'].includes(k) && v !== false)); | ||
} | ||
exports.shouldInjectLoader = shouldInjectLoader; | ||
//# sourceMappingURL=utils.js.map |
{ | ||
"name": "@web/rollup-plugin-polyfills-loader", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
@@ -24,4 +24,6 @@ import { fileTypes, PolyfillsLoaderConfig, File } from '@web/polyfills-loader'; | ||
config.polyfills && | ||
Object.entries(config.polyfills).some(([k, v]) => !['hash', 'custom'].includes(k) && v === true) | ||
Object.entries(config.polyfills).some( | ||
([k, v]) => !['hash', 'custom'].includes(k) && v !== false, | ||
) | ||
); | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
28980
403