
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
vite-plugin-css-url
Advanced tools
This vite plugin allows you to ?url
import css files and have them resolve
to the final bundled css file.
In short, you can write import styles from './my/styles.scss?url'
and have
it actually work as you would expect. If you try to do this in vite it will
sorta work in development mode but in release mode it will return the raw
source code for the styles file (see https://github.com/vitejs/vite/issues/2522).
npm install --save-dev vite-plugin-css-url
yarn install -D vite-plugin-css-url
pnpm install -D vite-plugin-css-url
Use the plugin in your vite config
import ViteCssUrlPlugin from 'vite-plugin-css-url';
export default {
plugins: [
ViteCssUrlPlugin(),
]
}
FAQs
Make ?url imports work for css in vite
The npm package vite-plugin-css-url receives a total of 8 weekly downloads. As such, vite-plugin-css-url popularity was classified as not popular.
We found that vite-plugin-css-url demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.