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

feat(core): reexport "@rslib/core/types" from "@rsbuild/core/types" #739

Merged
merged 2 commits into from
Feb 7, 2025

Conversation

SoonIter
Copy link
Member

@SoonIter SoonIter commented Feb 7, 2025

Summary

for src/env.d.ts

// src/env.d.ts
declare module '*.module.scss' {
  const classes: { [key: string]: string };
  export default classes;
}

declare module '*.svg' {
  const url: string;
  export default url;
}
/// <reference types="@rslib/core/types" />

https://rsbuild.dev/zh/guide/basic/static-assets#%E7%B1%BB%E5%9E%8B%E5%A3%B0%E6%98%8E

Copy link

netlify bot commented Feb 7, 2025

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit 79fb64b
🔍 Latest deploy log https://app.netlify.com/sites/rslib/deploys/67a5c45b1dfa2e0008588f93
😎 Deploy Preview https://deploy-preview-739--rslib.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.

@SoonIter SoonIter requested review from Timeless0911 and fi3ework and removed request for Timeless0911 February 7, 2025 08:31
@Timeless0911 Timeless0911 merged commit 5dafcdc into main Feb 7, 2025
19 checks passed
@Timeless0911 Timeless0911 deleted the feat/export-types-for-css-asset branch February 7, 2025 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants