Skip to content

Add strict mode to webpack encore bundle #663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions symfony/webpack-encore-bundle/1.6/assets
1 change: 1 addition & 0 deletions symfony/webpack-encore-bundle/1.6/config/packages/prod
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#webpack_encore:
# strict_mode: false
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
webpack_encore:
# The path where Encore is building the assets - i.e. Encore.setOutputPath()
output_path: '%kernel.project_dir%/public/build'
# If multiple builds are defined (as shown below), you can disable the default build:
# output_path: false

# if using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')
# crossorigin: 'anonymous'

# preload all rendered script and link tags automatically via the http2 Link header
# preload: true

# Throw an exception if the entrypoints.json file is missing or an entry is missing from the data
# strict_mode: false

# if you have multiple builds:
# builds:
# pass "frontend" as the 3rg arg to the Twig functions
# {{ encore_entry_script_tags('entry1', null, 'frontend') }}

# frontend: '%kernel.project_dir%/public/frontend/build'

# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
# Put in config/packages/prod/webpack_encore.yaml
# cache: true
1 change: 1 addition & 0 deletions symfony/webpack-encore-bundle/1.6/manifest.json
1 change: 1 addition & 0 deletions symfony/webpack-encore-bundle/1.6/package.json
1 change: 1 addition & 0 deletions symfony/webpack-encore-bundle/1.6/webpack.config.js