nolebase / integrations

A collection of diverse documentation engineering tools | 多元化的文档工程工具合集
https://nolebase-integrations.ayaka.io
MIT License
66 stars 9 forks source link

fix(ui): incorrect style exports #181

Closed nekomeowww closed 1 month ago

nekomeowww commented 1 month ago
Internal server error: 
Failed to resolve import "@nolebase/ui/client/style.css" from "node_modules/.pnpm/@nolebase+vitepress-plugin-git-changelog@2.0.0-rc6_vitepress@1.1.0_vue@3.4.21/node_modules/@nolebase/vitepress-plugin-git-changelog/dist/client/index.mjs?v=90fb9ea1".

Does the file exist?
  1. Missing @nolebase/ui/style.css exports
{
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./*": {
      "types": "./dist/*",
      "import": "./dist/*.mjs",
      "require": "./dist/*.js"
    }
  }
}
  1. Bad build exports for @nolebase/ui/client/style.css in @nolebase/ui, should be @nolebase/ui/style.css.
  2. Bad import for @nolebase/ui/client/style.css from all the other packages, should be @nolebase/ui/style.css
  3. Bad configuration for vite-omit-replacing, it should be mismatched previously...
github-actions[bot] commented 1 month ago

✅ Successfully deployed to Netlify

Platform Status URL
Ubuntu Success https://662201cef9269584aa21d496--nolebase-integrations.netlify.app
Windows Success https://662201da6d58fc8331842cfc--nolebase-integrations.netlify.app