mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
add composer script to symlink vendor folder in public to be able to import esm modules from vendor without breaking rewrite mechanism for cache token in urlpath
This commit is contained in:
@@ -533,5 +533,9 @@
|
||||
"phpmetrics/phpmetrics": "2.*",
|
||||
"sebastian/phpcpd": "3.*",
|
||||
"phpunit/phpunit": "^6"
|
||||
},
|
||||
"scripts": {
|
||||
"post-install-cmd": "@symlink_vendor_to_public",
|
||||
"symlink_vendor_to_public": "ln -sfn ../vendor ./public/"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user