Skip to content

Latest commit

 

History

History
56 lines (47 loc) · 1.69 KB

README.md

File metadata and controls

56 lines (47 loc) · 1.69 KB

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",
				}
			}]
		]
	};
};