====== webpack-encore-bundle ====== ===== Installation ===== ==== Résumé ==== - ''symfony composer req encore'' - ''npm install'' ==== Détails ==== avec la commande ''symfony composer req encore''\\ Un fichier ''webpack.config.js'' est créé dans le répertoire du projet. >symfony composer req encore Info from https://repo.packagist.org Using version ^1.15 for symfony/webpack-encore-bundle ./composer.json has been updated Running composer update symfony/webpack-encore-bundle Loading composer repositories with package information Restricting packages listed in "symfony/symfony" to "5.4.*" Updating dependencies Lock file operations: 2 installs, 0 updates, 0 removals - Locking symfony/asset (v5.4.7) - Locking symfony/webpack-encore-bundle (v1.15.1) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 2 installs, 0 updates, 0 removals - Installing symfony/asset (v5.4.7): Extracting archive - Installing symfony/webpack-encore-bundle (v1.15.1): Extracting archive Generating optimized autoload files 36 packages you are using are looking for funding. Use the `composer fund` command to find out more! Symfony operations: 1 recipe (c1dccbeadbd089260073e199ecaca575) - Configuring symfony/webpack-encore-bundle (>=1.10): From github.com/symfony/recipes:main Executing script cache:clear [OK] Executing script assets:install public [OK] What's next? Some files have been created and/or updated to configure your new packages. Please review, edit and commit them: these files are yours. symfony/webpack-encore-bundle instructions: * Install Yarn and run yarn install * Start the development server: yarn encore dev-server No security vulnerability advisories found Ensuite on tape la commande ''npm install'' pour installer les modules de **node** nécessaire dans le répértoire ''node_modules'' J:\webprojects\GoldenTicket>npm install npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility added 620 packages, and audited 621 packages in 1m 66 packages are looking for funding run `npm fund` for details found 0 vulnerabilities ====== Sources & Ressources ====== * [[https://symfony.com/doc/current/the-fast-track/fr/22-encore.html]]