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

fix(icons): loader does not exist is displayed in case of undefined #2814

Merged
merged 2 commits into from Jul 8, 2023

Conversation

TalexDreamSoul
Copy link
Contributor

Problem

image
Please take a look at the image above.

The uno.config.ts

import { defineConfig } from "unocss";
import presetIcons from '@unocss/preset-icons'

export default defineConfig({
  presets: [
    ...
    presetIcons({
      ...
    }),
  ],
});

When I started the project in the electron-vite (Here) template repository (Additionally: UnoCSS added), an error occurred!

image

Solution

I don't know what the problem exactly is, but when I ignore to load undefined loader it works and has no influence on functions.

@netlify
Copy link

netlify bot commented Jun 30, 2023

Deploy Preview for unocss ready!

Name Link
🔨 Latest commit 5dc230a
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/64a97b1813f3d4000886e978
😎 Deploy Preview https://deploy-preview-2814--unocss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@zyyv
Copy link
Member

zyyv commented Jul 2, 2023

@TalexDreamSoul Can you provide a minimal reproduction repo about this issue?

@antfu antfu merged commit 7daa253 into unocss:main Jul 8, 2023
9 of 10 checks passed
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

Successfully merging this pull request may close these issues.

None yet

3 participants