
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@originjs/vite-plugin-global-style
Advanced tools
A vite plugin that help you handle with global styles
CSS
, SASS
, LESS
, Stylus
files named starting with global
are automatically added to the vite global style.
For global CSS
styles, they will be added to the index.html
and will affect all pages.
For global SASS
/LESS
/Stylus
styles, they will be added to every SASS
/LESS
files using @import XXXX
.
npm install @originjs/vite-plugin-global-style --save-dev
or
yarn add @originjs/vite-plugin-global-style --dev
add @originjs/vite-plugin-global-style
in vite.config.js
.
import globalStyle from '@originjs/vite-plugin-global-style'
export default {
plugins: [
globalStyle(
/* options */
)
]
}
sourcePath
string
src/assets
The relative path of the directory in which to search for global styles.
cssEnabled
boolean
true
Whether to automatically load the CSS
global styles.
sassEnabled
boolean
true
Whether to automatically load the SASS
global styles.
lessEnabled
boolean
true
Whether to automatically load the LESS
global styles.
stylusEnabled
boolean
true
Whether to automatically load the Stylus
global styles.
recursive
boolean
true
Whether to recursively search the global styles in the sourcePath
directory.
FAQs
A vite plugin that help you handle with global styles
The npm package @originjs/vite-plugin-global-style receives a total of 211 weekly downloads. As such, @originjs/vite-plugin-global-style popularity was classified as not popular.
We found that @originjs/vite-plugin-global-style demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.