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

lwc with community/Id and community/basePath error out #135

Open
anner-emed opened this issue Jun 22, 2022 · 1 comment
Open

lwc with community/Id and community/basePath error out #135

anner-emed opened this issue Jun 22, 2022 · 1 comment

Comments

@anner-emed
Copy link

Describe the bug

Refused to execute script from 'http://localhost:3333/webruntime/component/latest/dev/en-US/@salesforce/community/Id' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Refused to execute script from 'http://localhost:3333/webruntime/component/latest/dev/en-US/@salesforce/community/basePath' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

To Reproduce
Steps to reproduce the behavior:

import storeId from '@salesforce/community/Id';
import communityBasePath from '@salesforce/community/basePath';

Expected behavior

stubbed out or ignored

@stale
Copy link

stale bot commented Jul 10, 2022

This issue has been automatically marked as type:bug-p3 because it has not had recent activity.

@stale stale bot added the type:bug-p3 label Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant