forcedotcom / lwc-dev-server-feedback

LWC Local Development
BSD 3-Clause "New" or "Revised" License
45 stars 10 forks source link

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

Open anner-emed opened 2 years ago

anner-emed commented 2 years ago

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[bot] commented 1 year ago

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