v0.4.0
Changes :
- added support for engine targeting
const { required } = require("@mrhenry/core-web");
const featureSet = required({
engines: {
"Gecko": "26"
}
});
Internal changes :
- migrated some critical code to Typescript.
- migrated from
yarn
+lerna
tonpm workspaces
- added e2e tests
- removed experimental client side detectors
- removed dependencies that have a native node alternative.
Upgrade to v0.4.0 :
babel plugin has no API changes
@mrhenry/core-web
takes a different config object now.
This was needed to enable support for engine targeting.
const { required } = require("@mrhenry/core-web");
const featureSet = required({
- "Chrome": "46",
- "Safari": "10",
+ browsers: {
+ "Chrome": "46",
+ "Safari": "10",
+ }
});