New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rspack/plugin-postcss

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rspack/plugin-postcss - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

8

CHANGELOG.md
# rspack-plugin-postcss
## 0.0.4
### Patch Changes
- d466288: add process_assets hook
- Updated dependencies [d466288]
- @rspack/binding@0.0.5
## 0.0.3

@@ -4,0 +12,0 @@

4

package.json
{
"name": "@rspack/plugin-postcss",
"version": "0.0.3",
"version": "0.0.4",
"description": "",

@@ -8,3 +8,3 @@ "main": "src/index.js",

"dependencies": {
"@rspack/binding": "0.0.4",
"@rspack/binding": "0.0.5",
"postcss-modules": "^5.0.0",

@@ -11,0 +11,0 @@ "postcss-pxtorem": "^6.0.0"

@@ -7,3 +7,3 @@ const { Processor } = require("postcss");

// TODO: customize options, until js binding support this functionality
console.log(loaderContext.getOptions());
// console.log(loaderContext.getOptions());
let options = loaderContext.getOptions() ?? {};

@@ -13,3 +13,8 @@ let enableModules = options.modules;

let meta = "";
let plugins = [pxtorem];
let plugins = [
pxtorem({
rootValue: 50,
propList: ["*"]
})
];
if (enableModules) {

@@ -16,0 +21,0 @@ plugins.push(

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc