Created
September 22, 2020 17:21
-
-
Save grizmio/5f4b330ea30599a3327f1bea29d0cb02 to your computer and use it in GitHub Desktop.
Symfony, Webencore, yarn, /public/build to just /public
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'cause Amnesia. | |
webpack.config.js: | |
.setOutputPath('public/') | |
// public path used by the web server to access the output path | |
.setPublicPath('/') | |
assets.yaml: | |
json_manifest_path: '%kernel.project_dir%/public/manifest.json' | |
webpack_encore.js: | |
webpack_encore: | |
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes) | |
# Available in version 1.2 | |
#cache: true | |
output_path: '%kernel.project_dir%/public' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment