Skip to content
Snippets Groups Projects
Commit 85636439 authored by Joe Lencioni's avatar Joe Lencioni
Browse files

Add Babel config for production environment

In https://github.com/airbnb/react-dates/pull/791 I added an ESM build,
but ended up breaking the production build for gh-pages. Storybook
builds with NODE_ENV=production, so this should fix that problem.
parent 9ae7efae
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,13 @@
["transform-replace-object-assign", "object.assign"],
],
},
"production": {
"presets": ["airbnb"],
"plugins": [
"inline-react-svg",
["transform-replace-object-assign", "object.assign"],
],
},
"cjs": {
"presets": ["airbnb"],
"plugins": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment