You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i recently created a fork of shoelace and while testing it out, we are seeing a error that does not happens in production release but happens on new versions built... Looks like it is related to this PR
If i remove the new exports block, it work fine... i'm missing anything?
ERROR in ./src/externals/vendors.js 83:0-66
Module not found: Error: Package path ./dist/themes/light.css is not exported from package C:\Programacao\platform-cortex\modules\competitiva\frontend\node_modules\@cortex-intelligence\design-system (see exports field in C:\Programacao\platform-cortex\modules\competitiva\frontend\node_modules\@cortex-intelligence\design-system\package.json)
ERROR in ./src/externals/vendors.js 84:0-77
Module not found: Error: Package path ./dist/components/button/button.js is not exported from package C:\Programacao\platform-cortex\modules\competitiva\frontend\node_modules\@cortex-intelligence\design-system (see exports field in C:\Programacao\platform-cortex\modules\competitiva\frontend\node_modules\@cortex-intelligence\design-system\package.json)
ERROR in ./src/externals/vendors.js 85:0-73
Module not found: Error: Package path ./dist/components/icon/icon.js is not exported from package C:\Programacao\platform-cortex\modules\competitiva\frontend\node_modules\@cortex-intelligence\design-system (see exports field in C:\Programacao\platform-cortex\modules\competitiva\frontend\node_modules\@cortex-intelligence\design-system\package.json)
ERROR in ./src/externals/vendors.js 87:0-93
Module not found: Error: Package path ./dist/utilities/base-path.js is not exported from package C:\Programacao\platform-cortex\modules\competitiva\frontend\node_modules\@cortex-intelligence\design-system (see exports field in C:\Programacao\platform-cortex\modules\competitiva\frontend\node_modules\@cortex-intelligence\design-system\package.json)
To Reproduce
I trying to import a fresh fork of this project to a existing project, like this:
import '@cortex-intelligence/design-system/dist/themes/light.css';
import '@cortex-intelligence/design-system/dist/components/button/button.js';
import '@cortex-intelligence/design-system/dist/components/icon/icon.js';
import { setBasePath } from '@cortex-intelligence/design-system/dist/utilities/base-path.js';
// Set the base path to the folder you copied Shoelace's assets to
setBasePath('/client/js/design-system');
Demo
Tell me if its required, if so i create it.
Screenshots
If applicable, add screenshots to help explain the bug.
Describe the bug
i recently created a fork of shoelace and while testing it out, we are seeing a error that does not happens in production release but happens on new versions built... Looks like it is related to this PR
If i remove the new exports block, it work fine... i'm missing anything?
To Reproduce
I trying to import a fresh fork of this project to a existing project, like this:
Demo
Tell me if its required, if so i create it.
Screenshots
If applicable, add screenshots to help explain the bug.
Browser / OS
Additional information