Commit Graph
81 Commits
Author SHA1 Message Date
Nicolas GrekasandGitHub 544ff21cd0 Recommend NPM instead of Yarn (#1229) 2023-08-08 22:07:35 +02:00
Ryan WeaverandGitHub c590fdaa8e Adding new recipes for Encore, Stimulus & AssetMapper (#1202)
* Adding new recipes for Encore, Stimulus & AssetMapper

* StimulusBundle 1.0 -> 2.9

* updating namespace

* moving encore recipe changes to 2.0

* conflict with older version of flex

* adding ux_controller_link_tags() to recipe

* adding documentation to importmap

* updating message to match core

* Adding ux translator

* fixing translations path

* Documenting the new add-lines configurator

* Fixing translator initial version

* shorten to just var

* remove ux alias - there is no one package to install UX packages currently

* fixing wrong package name
2023-05-27 01:35:12 +02:00
Jenne van der MeerandGitHub 0b2fc1d5cb [encore] Removed duplicate cache config comment (#1164)
The cache option is specified twice, feels like the one under `webpack_encore` https://github.com/symfony/recipes/blob/923757ec093b9b7831891af0462bd5dfb031f020/symfony/webpack-encore-bundle/1.10/config/packages/webpack_encore.yaml#L33-L35 was left over when `when@prod` was added while it should have been replaced.
2022-12-20 13:44:18 +01:00
Thomas LandauerandGitHub 3af4f6b49a Fixing typo 3rg and minor rewording (#1162)
* Fixing typo and minor rewording

* Update webpack_encore.yaml
2022-12-11 19:08:44 +01:00
8ffabc5e9a Fix small typo in symfony/webpack-encore-bundle (#1100)
Co-authored-by: Arnaud Lier <arnaud@eclixo.com>
2022-10-08 10:35:09 +02:00
Andy PalmerandGitHub 85dc7cd2f0 Update babel preset-env config to use corejs 3.23 (#1126) 2022-09-15 09:26:27 -04:00
Hugo AlliaumeandGitHub 3e33a50e78 symfony/webpack-encore: bump to ^4.0.0, add peer dependencies webpack, webpack-cli, @babel/core and @babel/preset-env (#1123)
* symfony/webpack-encore: bump to ^4.0.0, add peer dependencies webpack and webpack-cli

* symfony/webpack-encore: add @babel/core and @babel/preset-env as dev deps
2022-09-14 14:26:11 -04:00
Ryan WeaverandGitHub 088a94b7cb bumping encore to v3 and increasing some other dependencies (#1107) 2022-07-08 14:07:29 -04:00
Nicolas GrekasandGitHub ec5bc1f6bc Revert "[webpack-encore-bundle] disable strict_mode by default (#1087)" (#1099)
This reverts commit 4995ec2fad.
2022-06-18 11:16:19 +02:00
Nicolas GrekasandGitHub 4995ec2fad [webpack-encore-bundle] disable strict_mode by default (#1087) 2022-05-25 17:18:06 +02:00
Ryan WeaverandGitHub 8af9d2e95d using Encore 2.0 (#1082) 2022-05-04 18:38:50 +02:00
Nicolas Grekas ea6c1d6041 - 2022-02-17 17:05:14 +01:00
Marko KaznovacandGitHub 72d18fe640 simplify regex in the stimulus app bootstrap.js (#1002)
* simplify regex in the stimulus app bootstrap.js

use character class instead of group capture with an alternation

* simplify regex in the stimulus app bootstrap.js

for 1.6

* simplify regex in the stimulus app bootstrap.js

for 1.0
2022-02-17 17:04:33 +01:00
Nicolas GrekasandGitHub 8186150d19 Remove instruction to "uncomment" in webpack-encore-bundle recipe (#1062) 2022-02-17 16:40:18 +01:00
Ryan WeaverandGitHub ea6ade9061 Consolidating env-specific files into main config file for simplicity 2022-02-10 22:25:56 +01:00
Ryan Weaver 02e62440a4 adding caveat to encore post-install 2021-12-23 12:12:10 -05:00
Ryan Weaver f9236b266c updating recipe for Stimulus 3 2021-12-03 15:06:25 -05:00
Fabien PotencierandGitHub f30eb9dc45 Merge pull request #982 from seb-jean/patch-1
URL changed
2021-09-19 20:01:49 +02:00
Fabien Potencier 1aa7d46cb0 Remove the header from post-install files (handled by Flex now) 2021-08-30 12:25:28 +02:00
seb-jeanandGitHub a2b688f8f2 URL changed 2021-08-10 16:44:54 +02:00
Ryan WeaverandGitHub e06589bbf8 Suggesting attribute for Turbo users (#943) 2021-08-03 12:37:24 -07:00
Nicolas Grekas a1a70353f6 Remove all symlinks 2021-07-07 16:12:10 +02:00
Ryan WeaverandRyan Weaver 30dbbce340 Making it more obvious how to add extra stimulus controllers 2021-03-30 14:43:55 -04:00
Ryan Weaver fa448ef891 fixing closing tag 2021-02-18 20:29:25 -05:00
symfony-flex-server[bot]andGitHub b7bf608881 Merge pull request #890 2021-02-09 09:05:51 +00:00
Kévin Dunglas d5b6c76383 wording 2021-02-05 17:33:16 +01:00
Kévin Dunglas f67b143e21 add missing file 2021-02-05 17:30:47 +01:00
Kévin Dunglas 5ddb1f2d21 Register a new "ux" alias 2021-02-05 17:21:52 +01:00
symfony-flex-server[bot]andGitHub f7ee6c391a Merge pull request #883 2021-02-03 11:55:37 +00:00
Ryan WeaverandGitHub 774274dae0 fixing line break 2021-02-01 14:57:45 -05:00
Ryan Weaver e4b2331c57 bumping to latest stimulus-bridge
Removing auto-import and adding new lazy-controller-loader
2021-01-28 19:50:21 -05:00
Ryan Weaver 89bbcccd7f switching var to const to be more modern 2021-01-28 11:02:27 -05:00
Ryan Weaver 0410a27a79 bumping to encore 1.0 2021-01-27 15:17:13 -05:00
Ryan Weaver 6bdd88bff1 making package.json alphabetical 2021-01-20 10:25:15 -05:00
Ryan Weaver cf47b10f13 Moving scripts to <head> by default
With <script defer, execution is still done after page load, but is more performant
and works will with Turbo
2021-01-15 14:00:20 -05:00
Titouan Galopin 5c6602044e Migrate Webpack Encore recipe to Stimulus 2 2020-12-05 21:13:30 +01:00
Titouan Galopin 7d3d96c646 Fix the way HTTP/2 is written 2020-12-04 12:20:01 +01:00
Titouan Galopin c835d1c5ee Add Stimulus in Webpack Encore recipe 2020-12-03 11:45:54 +01:00
TavoNiievezandGitHub 64c862d470 using latest Encore version
0.30 to 0.31
2020-11-02 11:31:25 -05:00
Titouan Galopin 910cccb59a [Webpack Encore] Change default assets directory structure 2020-09-26 13:52:40 +02:00
Ryan Weaver 94a7b92999 using latest Encore version 2020-05-11 06:44:46 -04:00
Ryan Weaver 50ecf52e47 bumping encore to newest version 2020-04-17 11:03:06 -04:00
symfony-flex-server[bot]andGitHub 3f91d6dbe2 Merge pull request #683 2020-01-10 07:52:36 +00:00
Fabien Potencier 39f031b39b Remove ; 2019-12-11 09:36:04 +01:00
Yannick Ihmels a3e45d607e Use configureBabelPresetEnv() 2019-12-08 11:41:28 +01:00
Antoine MakdessiandGitHub 5fe4ccf3b1 Update app.js 2019-11-19 14:39:45 +01:00
PabloKowalczyk 7e5e646dd6 By default do not disable "strict_mode" for tests but leave it commented to fast change 2019-11-01 07:40:06 +01:00
PabloKowalczyk 38c3d4c631 Indent correctly 2019-11-01 07:35:09 +01:00
PabloKowalczyk ca6e14d534 Remove "available in version" comment 2019-11-01 07:34:48 +01:00
PabloKowalczyk 99026bfaaa Disable strict_mode in test environment 2019-11-01 07:32:51 +01:00