Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ditojs/build

Package Overview
Dependencies
Maintainers
4
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ditojs/build - npm Package Compare versions

Comparing version 1.10.1 to 1.11.0

8

package.json
{
"name": "@ditojs/build",
"version": "1.10.1",
"version": "1.11.0",
"type": "module",

@@ -19,7 +19,7 @@ "repository": "https://github.com/ditojs/dito/tree/master/packages/build",

"engines": {
"node": ">= 16.0.0",
"node": ">= 18.0.0",
"yarn": ">= 1.0.0"
},
"browserslist": [
"node >= 16"
"node >= 18"
],

@@ -35,3 +35,3 @@ "dependencies": {

},
"gitHead": "2a5658aeeef2666b0a5ddd37ce6fbdb1d9eab3c3"
"gitHead": "cc2a838ccf15a75f435844f3087698c4efaf44e4"
}
import autoprefixer from 'autoprefixer'
import postcssInset from 'postcss-inset'
export function getPostCssConfig({ removeCharset = true }) {
export function getPostCssConfig() {
return {
plugins: [
autoprefixer(),
postcssInset(),
removeCharset && {
// https://github.com/vitejs/vite/issues/5833
postcssPlugin: 'internal:remove-charset',
AtRule: {
charset: rule => {
if (rule.name === 'charset') {
rule.remove()
}
}
}
}
postcssInset()
]
}
}

@@ -68,3 +68,3 @@ import { defineConfig as defineViteConfig } from 'vite'

},
postcss: getPostCssConfig({ removeCharset: true })
postcss: getPostCssConfig()
}

@@ -71,0 +71,0 @@ : null,

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