Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
vite-plugin-symfony
Advanced tools
A Vite plugin to integrate easily Vite in your Symfony application..
A Vite plugin to integrate easily Vite in your Symfony application..
entrypoints.json
file inside your build directory with your js/css/preload dependencies.This package is intended for use with the Symfony Bundle : pentatrion/vite-bundle.
⚠️ This repository is a "subtree split": a read-only subset of that main repository symfony-vite-dev.
npm i vite-plugin-symfony
Create this directory structure :
├──assets
│ ├──app.js
│ ├──app.css
│...
├──public
├──composer.json
├──package.json
├──vite.config.js
Vite base config with vite 3.x
// vite.config.js
import {defineConfig} from "vite";
import symfonyPlugin from "vite-plugin-symfony";
export default defineConfig({
plugins: [
symfonyPlugin(/* options */),
],
build: {
rollupOptions: {
input: {
app: "./assets/app.js" /* relative to the root option */
},
},
}
});
and your package.json :
{
"scripts": {
"dev": "vite",
"build": "vite build"
},
"devDependencies": {
"vite": "^4.0",
"vite-plugin-symfony": "^4"
}
}
Package | Description |
---|---|
vite-bundle | Symfony Bundle |
vite-plugin-symfony | Vite plugin |
symfony-vite-docs | Documentation |
symfony-vite-dev | Package for contributors |
MIT.
FAQs
A Vite plugin to integrate easily Vite in your Symfony application
The npm package vite-plugin-symfony receives a total of 3,778 weekly downloads. As such, vite-plugin-symfony popularity was classified as popular.
We found that vite-plugin-symfony 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.