We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
I'm using decap-cms-app directly (via import cms from 'decap-cms-app'). When rendering the preview pane, I get an import resolution error:
decap-cms-app
import cms from 'decap-cms-app'
./node_modules/decap-cms-app/node_modules/decap-cms-core/dist/esm/components/Editor/EditorPreviewPane/EditorPreviewPane.js:14:1 Module not found: Can't resolve 'decap-cms-lib-util/src/stega' 12 | import { lengths } from 'decap-cms-ui-default'; 13 | import { connect } from 'react-redux'; > 14 | import { encodeEntry } from 'decap-cms-lib-util/src/stega'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This started happening when I bumped decap-cms-app to 3.6.1 and not present in 3.5.0.
3.6.1
3.5.0
import { encodeEntry } from 'decap-cms-lib-util/src/stega';
should probably import from dist/esm/, not from src/
dist/esm/
src/
import { encodeEntry } from 'decap-cms-lib-util/dist/esm/stega';
Applicable Versions:
decap-cms-core
3.6.0
decap-cms-lib-util
3.2.0
I have this working locally with this patch-package patch: decap-cms-app++decap-cms-core+3.6.0.patch
patch-package
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
I'm using
decap-cms-app
directly (viaimport cms from 'decap-cms-app'
). When rendering the preview pane, I get an import resolution error:This started happening when I bumped
decap-cms-app
to3.6.1
and not present in3.5.0
.should probably import from
dist/esm/
, not fromsrc/
Applicable Versions:
decap-cms-app
:3.6.1
decap-cms-core
:3.6.0
decap-cms-lib-util
:3.2.0
I have this working locally with this
patch-package
patch:decap-cms-app++decap-cms-core+3.6.0.patch
The text was updated successfully, but these errors were encountered: