Skip to content
New issue

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

Direct reference to node_modules-folder #1

Open
PalleZingmark opened this issue Oct 26, 2017 · 0 comments
Open

Direct reference to node_modules-folder #1

PalleZingmark opened this issue Oct 26, 2017 · 0 comments

Comments

@PalleZingmark
Copy link

/src/index.js Line 4 uses a direct reference to node_modules, but contentful-ui-extensions-sdk actually returns just that. So instead of using a direct reference to the node_modules-folder, as you do now..

import * as contentfulExtension from '../node_modules/contentful-ui-extensions-sdk/dist/cf-extension-api';

..you can actually use:

import * as contentfulExtension from 'contentful-ui-extensions-sdk';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant