mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
Install symfony encore package
This commit is contained in:
parent
3352a850c3
commit
7f6e06ca4f
5 changed files with 33 additions and 0 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -51,3 +51,10 @@
|
||||||
/config/jwt/*.pem
|
/config/jwt/*.pem
|
||||||
!/config/jwt/*-test.pem
|
!/config/jwt/*-test.pem
|
||||||
###< lexik/jwt-authentication-bundle ###
|
###< lexik/jwt-authentication-bundle ###
|
||||||
|
|
||||||
|
###> symfony/webpack-encore-bundle ###
|
||||||
|
/node_modules/
|
||||||
|
/public/build/
|
||||||
|
npm-debug.log
|
||||||
|
yarn-error.log
|
||||||
|
###< symfony/webpack-encore-bundle ###
|
||||||
|
|
|
||||||
|
|
@ -125,6 +125,7 @@
|
||||||
"symfony/translation-contracts": "^2.5",
|
"symfony/translation-contracts": "^2.5",
|
||||||
"symfony/twig-bundle": "^5.4",
|
"symfony/twig-bundle": "^5.4",
|
||||||
"symfony/validator": "^5.4",
|
"symfony/validator": "^5.4",
|
||||||
|
"symfony/webpack-encore-bundle": "^1.15",
|
||||||
"symfony/yaml": "^5.4",
|
"symfony/yaml": "^5.4",
|
||||||
"twig/intl-extra": "^2.12",
|
"twig/intl-extra": "^2.12",
|
||||||
"twig/twig": "^2.12 || ^3.3",
|
"twig/twig": "^2.12 || ^3.3",
|
||||||
|
|
|
||||||
|
|
@ -58,4 +58,5 @@ return [
|
||||||
Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle::class => ['all' => true],
|
Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle::class => ['all' => true],
|
||||||
SyliusLabs\DoctrineMigrationsExtraBundle\SyliusLabsDoctrineMigrationsExtraBundle::class => ['all' => true],
|
SyliusLabs\DoctrineMigrationsExtraBundle\SyliusLabsDoctrineMigrationsExtraBundle::class => ['all' => true],
|
||||||
SyliusLabs\Polyfill\Symfony\Security\Bundle\SyliusLabsPolyfillSymfonySecurityBundle::class => ['all' => true],
|
SyliusLabs\Polyfill\Symfony\Security\Bundle\SyliusLabsPolyfillSymfonySecurityBundle::class => ['all' => true],
|
||||||
|
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
|
||||||
];
|
];
|
||||||
|
|
|
||||||
5
config/packages/webpack_encore.yaml
Normal file
5
config/packages/webpack_encore.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
webpack_encore:
|
||||||
|
output_path: '%kernel.project_dir%/public/build/default'
|
||||||
|
builds:
|
||||||
|
shop: '%kernel.project_dir%/public/build/shop'
|
||||||
|
admin: '%kernel.project_dir%/public/build/admin'
|
||||||
19
symfony.lock
19
symfony.lock
|
|
@ -946,6 +946,25 @@
|
||||||
"config/routes/dev/web_profiler.yaml"
|
"config/routes/dev/web_profiler.yaml"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"symfony/webpack-encore-bundle": {
|
||||||
|
"version": "1.15",
|
||||||
|
"recipe": {
|
||||||
|
"repo": "github.com/symfony/recipes",
|
||||||
|
"branch": "main",
|
||||||
|
"version": "1.10",
|
||||||
|
"ref": "51fec8b86251b9bfc126ebc1827c9a02fa81ee81"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"assets/app.js",
|
||||||
|
"assets/bootstrap.js",
|
||||||
|
"assets/controllers.json",
|
||||||
|
"assets/controllers/hello_controller.js",
|
||||||
|
"assets/styles/app.css",
|
||||||
|
"config/packages/webpack_encore.yaml",
|
||||||
|
"package.json",
|
||||||
|
"webpack.config.js"
|
||||||
|
]
|
||||||
|
},
|
||||||
"symfony/yaml": {
|
"symfony/yaml": {
|
||||||
"version": "v4.4.13"
|
"version": "v4.4.13"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue