mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
55 lines
2.7 KiB
JSON
55 lines
2.7 KiB
JSON
{
|
|
"manifests": {
|
|
"pentatrion/vite-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Pentatrion\\ViteBundle\\PentatrionViteBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-package": {
|
|
"install/assets/": "assets/",
|
|
"install/package.json": "package.json",
|
|
"install/vite.config.js": "vite.config.js",
|
|
"install/config/routes/pentatrion_vite.yaml": "config/routes/pentatrion_vite.yaml"
|
|
},
|
|
"gitignore": [
|
|
"/node_modules/",
|
|
"/%PUBLIC_DIR%/build/"
|
|
],
|
|
"add-lines": [
|
|
{
|
|
"file": "templates/base.html.twig",
|
|
"content": " {{ vite_entry_script_tags('app') }}",
|
|
"position": "after_target",
|
|
"target": "{% block javascripts %}",
|
|
"warn_if_missing": true
|
|
},
|
|
{
|
|
"file": "templates/base.html.twig",
|
|
"content": " {{ vite_entry_link_tags('app') }}",
|
|
"position": "after_target",
|
|
"target": "{% block stylesheets %}",
|
|
"warn_if_missing": true
|
|
}
|
|
],
|
|
"post-install-output": [
|
|
" <bg=blue;fg=white> </>",
|
|
" <bg=blue;fg=white> Getting started using </><bg=blue;fg=white;options=bold>pentatrion/vite-bundle</><bg=blue;fg=white> </>",
|
|
" <bg=blue;fg=white> </>",
|
|
"",
|
|
" <fg=blue;options=bold>Configure</> <fg=blue>your transformations:</>",
|
|
" 1. Add if necessary a configuration file in <comment>%CONFIG_DIR%/packages/pentatrion_vite.yaml</>.",
|
|
" 2. Verify the Vite configuration in <comment>/vite.config.js</>.",
|
|
" 3. Check vite templates https://github.com/vitejs/vite/tree/main/packages/create-vite for dependencies to add.",
|
|
" 4. Run <comment>npm i</>.",
|
|
" 5. Start the development server: <comment>npm run dev</>.",
|
|
" 6. Start coding into <comment>assets/app.js</>"
|
|
]
|
|
},
|
|
"files": [],
|
|
"ref": "3a6673f248f8fc1dd364dadfef4c5b381d1efab6"
|
|
}
|
|
}
|
|
}
|