fix: Revert "fix: generate esm correctly (#5087)" (#5271)

This reverts commit 9b1546f131772185b3d39d18b6e57dc41ff5c7ca.
This commit is contained in:
Erez Rokah 2021-04-14 14:33:40 +04:00 committed by GitHub
parent f70924d99b
commit 72c3765ff7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View File

@ -88,12 +88,7 @@ const svgo = {
function presets() {
return [
'@babel/preset-react',
[
'@babel/preset-env',
{
modules: isESM ? false : 'auto',
},
],
'@babel/preset-env',
[
'@emotion/babel-preset-css-prop',
{

View File

@ -5,7 +5,6 @@
"homepage": "https://www.netlifycms.org",
"repository": "https://github.com/netlify/netlify-cms/tree/master/packages/netlify-cms-app",
"bugs": "https://github.com/netlify/netlify-cms/issues",
"module": "dist/esm/index.js",
"main": "dist/netlify-cms-app.js",
"files": [
"src/",