Skip to content

Commit f5bd952

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #874
2 parents eb51fde + cf47b10 commit f5bd952

File tree

9 files changed

+39
-1
lines changed

9 files changed

+39
-1
lines changed

symfony/twig-bundle/3.3/templates/base.html.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
<meta charset="UTF-8">
55
<title>{% block title %}Welcome!{% endblock %}</title>
66
{% block stylesheets %}{% endblock %}
7+
8+
{% block javascripts %}{% endblock %}
79
</head>
810
<body>
911
{% block body %}{% endblock %}
10-
{% block javascripts %}{% endblock %}
1112
</body>
1213
</html>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../1.0/assets
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../1.0/config/packages/assets.yaml
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../1.0/config/packages/prod
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../1.6/config/packages/test
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
webpack_encore:
2+
# The path where Encore is building the assets - i.e. Encore.setOutputPath()
3+
output_path: '%kernel.project_dir%/public/build'
4+
# If multiple builds are defined (as shown below), you can disable the default build:
5+
# output_path: false
6+
7+
# Set attributes that will be rendered on all script and link tags
8+
script_attributes:
9+
defer: true
10+
# link_attributes:
11+
12+
# If using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')
13+
# crossorigin: 'anonymous'
14+
15+
# Preload all rendered script and link tags automatically via the HTTP/2 Link header
16+
# preload: true
17+
18+
# Throw an exception if the entrypoints.json file is missing or an entry is missing from the data
19+
# strict_mode: false
20+
21+
# If you have multiple builds:
22+
# builds:
23+
# pass "frontend" as the 3rg arg to the Twig functions
24+
# {{ encore_entry_script_tags('entry1', null, 'frontend') }}
25+
26+
# frontend: '%kernel.project_dir%/public/frontend/build'
27+
28+
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
29+
# Put in config/packages/prod/webpack_encore.yaml
30+
# cache: true
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../1.0/manifest.json
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../1.0/package.json
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../1.0/webpack.config.js

0 commit comments

Comments
 (0)