Skip to content

mrhenry/core-web

Repository files navigation

Build BrowserStack Status CodeQL

Babel Plugin

Read more

npm install --save-dev @mrhenry/babel-plugin-core-web
yarn add --dev @mrhenry/babel-plugin-core-web
module.exports = function(api) {
	/*
		Optionally cache the babel config
		https://babeljs.io/docs/en/config-files#apicache
	*/
	api.cache(true);

	return {
		plugins: [
			["@mrhenry/core-web"]
		]
	};
};
module.exports = function(api) {
	/*
		Optionally cache the babel config
		https://babeljs.io/docs/en/config-files#apicache
	*/
	api.cache(true);

	return {
		plugins: [
			["@mrhenry/core-web", {
				browsers: {
					chrome: "63",
					firefox: "57",
					edge: "18",
					opera: "57",
					safari: "12",
					ie: "11",
				}
			}]
		]
	};
};