Uh oh!
There was an error while loading. Please reload this page.
Feat/core - #105
Conversation
Oliboy50
left a comment
There was a problem hiding this comment.
👏 very good job 👏
thank you ❤️
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
147d2ef to
30945a3CompareaiKrice
commented
Feb 7, 2020
Thanks for keeping alive this project ❤️ |
6657246 to
2552cbdCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| "scripts": { | ||
| "symfony-scripts": [ | ||
| "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", | ||
| "cp .env.dist .env", |
There was a problem hiding this comment.
could we remove "incenteev/composer-parameter-handler" from "require" then?
There was a problem hiding this comment.
so... could you do it in this PR, please? 😅
Uh oh!
There was an error while loading. Please reload this page.
9df4f9f to
ac2e688Compare| $loader->load(function (ContainerBuilder $container) { | ||
| // Check if webpack dev server is up before using it | ||
| @file_get_contents($container->getParameter('webpack_dev_server_base_url')); | ||
| @file_get_contents($container->resolveEnvPlaceholders($container->getParameter('webpack_dev_server_base_url'), true)); |
There was a problem hiding this comment.
| @file_get_contents($container->resolveEnvPlaceholders($container->getParameter('webpack_dev_server_base_url'), true)); | |
| @file_get_contents($container->getParameter('webpack_dev_server_base_url')); |
no need to resolve because we already convert the env variable to a parameter:
webpack_dev_server_base_url: '%env(WEBPACK_DEV_SERVER_BASE_URL)%'and this is a URL, so we don't need to resolve anything 🤔
| 'base_url' => sprintf( | ||
| '%s/%s', | ||
| rtrim($container->getParameter('webpack_dev_server_base_url'), '/'), | ||
| rtrim($container->resolveEnvPlaceholders($container->getParameter('webpack_dev_server_base_url'), true), '/'), |
There was a problem hiding this comment.
| rtrim($container->resolveEnvPlaceholders($container->getParameter('webpack_dev_server_base_url'), true), '/'), | |
| rtrim($container->getParameter('webpack_dev_server_base_url'), '/'), |
| "scripts": { | ||
| "symfony-scripts": [ | ||
| "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", | ||
| "cp .env.dist .env", |
There was a problem hiding this comment.
so... could you do it in this PR, please? 😅
| $dotenv = new Dotenv(); | ||
| $dotenv->load(__DIR__.'/../.env'); | ||
| if($_ENV['APP_ENV'] !== 'prod') { |
There was a problem hiding this comment.
why don't we just delete this file (app_dev.php), instead of doing weird things like that?
Breaking changes:
Features: