diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-03-31 20:21:41 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-05-04 14:49:44 +0200 |
commit | 64f81bc31699ed239e4becec1cfa7ebc0bef2b5a (patch) | |
tree | 6363a596055683587d11aaffcf30608a682988aa /app/AppKernel.php | |
parent | 3b4502e0e663866e7bac00164fd935fdc92309d6 (diff) | |
download | wallabag-64f81bc31699ed239e4becec1cfa7ebc0bef2b5a.tar.gz wallabag-64f81bc31699ed239e4becec1cfa7ebc0bef2b5a.tar.zst wallabag-64f81bc31699ed239e4becec1cfa7ebc0bef2b5a.zip |
Adds Webpack support and removes the use for Grunt
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
use scss
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
fix build, add babel, fix annotations
fixes (and improvements !) for baggy
add live reload & environments & eslint & theme fixes
Diffstat (limited to 'app/AppKernel.php')
-rw-r--r-- | app/AppKernel.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/AppKernel.php b/app/AppKernel.php index c8382d5f..b9293498 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php | |||
@@ -71,5 +71,14 @@ class AppKernel extends Kernel | |||
71 | public function registerContainerConfiguration(LoaderInterface $loader) | 71 | public function registerContainerConfiguration(LoaderInterface $loader) |
72 | { | 72 | { |
73 | $loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml'); | 73 | $loader->load($this->getRootDir().'/config/config_'.$this->getEnvironment().'.yml'); |
74 | $loader->load(function ($container) { | ||
75 | if ($container->getParameter('use_webpack_dev_server')) { | ||
76 | $container->loadFromExtension('framework', [ | ||
77 | 'assets' => [ | ||
78 | 'base_url' => 'http://localhost:8080/', | ||
79 | ], | ||
80 | ]); | ||
81 | } | ||
82 | }); | ||
74 | } | 83 | } |
75 | } | 84 | } |