
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
postcss-preset-moxy
Advanced tools
PostCSS preset to be used at MOXY.
$ npm install postcss-preset-moxy --save-dev
You might need to also install postcss-cli as a dev dependency.
If you are developing a project that uses new CSS language features and must work on targets that do not yet support them, you have to transpile your styles. This preset provides a shareable PostCSS config as a preset that should be used across those projects at MOXY.
@import
statements are inlinedurl()
statements are processed@if
and @else
statements, useful inside mixinsalpha
, lightness
and other color utilitiesCreate postcss.config.js
at the root of your project:
module.exports = require('postcss-preset-moxy')();
...or with options
module.exports = require('postcss-preset-moxy')({
import: { path: './src/styles' },
mixins: { mixinsDir: './src/styles/mixins' },
});
Available options:
Name | Description | Type | Default |
---|---|---|---|
import | Options to pass to postcss-import | Object | undefined |
mixins | Options to pass to postcss-mixins | Object | undefined |
cssVariables | Options to pass to postcss-css-variables, false disables the plugin | Object/boolean | { preserveAtRulesOrder: true } |
url | Options to pass to postcss-url, false disables any transpilation of url() declarations | Array/Object/boolean | { url: 'rebase' } |
browsers | Supported browsers list to pass to postcss-cssnext | Array | browserslist-config-google |
The postcss-url plugin is enabled by default. You may disable it like so:
module.exports = require('postcss-preset-moxy')({
url: false,
});
$ npm test
$ npm test -- --watch
during development
FAQs
PostCSS preset to be used at MOXY
The npm package postcss-preset-moxy receives a total of 20 weekly downloads. As such, postcss-preset-moxy popularity was classified as not popular.
We found that postcss-preset-moxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 19 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.