Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@webxdc/vite-plugins
Advanced tools
Collection of Vite plugins and utilities for webxdc.
📱 Integrated webxdc.js
mini-emulator to test your WebXDC right on the browser while developing.
🐞 Integrated Eruda support to debug inside Delta Chat when building with NODE_ENV=debug
.
📦 Automatically generate your .xdc
file.
🦕 Support legacy/old browsers.
Scaffolding your first webxdc project:
npm create @webxdc/vite-plugins@latest
Then update your Vite configuration as needed. See below for example Vite configurations.
Example vite.config.js
files
Use webxdcViteConfig()
for a quick and easy default configuration.
// vite.config.ts
import { webxdcViteConfig } from "@webxdc/vite-plugins";
import { defineConfig } from "vite";
export default defineConfig(webxdcViteConfig());
Use the individual plugins for more control over the build.
// vite.config.ts
import {
buildXDC,
eruda,
mockWebxdc,
// legacy, // might cause problems in existing projects
} from "@webxdc/vite-plugins";
import { defineConfig } from "vite";
export default defineConfig({
plugins: [buildXDC(), eruda(), mockWebxdc()],
});
For a full example check the example folder.
if you get this error when using vite:
✘ [ERROR] Failed to resolve "@webxdc/vite-plugins". This package is ESM only but it was tried to load by `require`.
to fix it you need to set in your package.json
:
{
...
"type": "module",
...
}
FAQs
Collection of vite plugins for webxdc development
The npm package @webxdc/vite-plugins receives a total of 17 weekly downloads. As such, @webxdc/vite-plugins popularity was classified as not popular.
We found that @webxdc/vite-plugins demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.