Files
symfony-flex-recipes-contrib/pentatrion.vite-bundle.1.0.json
T
github-action[bot]andgithub-action[bot] 30385f6032 Update Flex endpoint
2023-06-24 15:33:02 +00:00

66 lines
2.9 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"
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"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. Install npm and run <comment>npm i</>.",
" 4. Start the development server: <comment>npm run dev</>.",
" 5. Start coding into <comment>assets/app.js</>"
]
},
"files": {
"config/routes/dev/pentatrion_vite.yaml": {
"contents": [
"_pentatrion_vite:",
" prefix: /build",
" resource: \"@PentatrionViteBundle/Resources/config/routing.yaml\"",
""
],
"executable": false
}
},
"ref": "4d98e6cbe66f6cd2dadc8375b035c7a1c30100c0"
}
}
}