Skip to content

Commit

Permalink
fix: don't import from dist/esm
Browse files Browse the repository at this point in the history
Thanks to the other changes in this PR, we can now safely import from the decap-cms-app.
  • Loading branch information
fgnass committed Dec 23, 2024
1 parent 7a07e31 commit eb060b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/decap-cms/src/extensions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DecapCmsApp as CMS } from 'decap-cms-app/dist/esm';
import { DecapCmsApp as CMS } from 'decap-cms-app';
// Media libraries
import uploadcare from 'decap-cms-media-library-uploadcare';
import cloudinary from 'decap-cms-media-library-cloudinary';
Expand Down
2 changes: 1 addition & 1 deletion packages/decap-cms/src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import createReactClass from 'create-react-class';
import React from 'react';
import { DecapCmsApp as CMS } from 'decap-cms-app/dist/esm';
import { DecapCmsApp as CMS } from 'decap-cms-app';
import './extensions';

/**
Expand Down

0 comments on commit eb060b1

Please sign in to comment.