]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6170
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 28 Sep 2023 15:48:41 +0000 (17:48 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 28 Sep 2023 15:48:41 +0000 (17:48 +0200)
app/Elearning/QuizCompiler.php

index dc7721601b0930fceff7ebd827b6343b0441b9e4..e128936bfea2265faf12f0afb92dda2f276c0022 100644 (file)
@@ -303,8 +303,8 @@ class QuizCompiler extends Base
 
     protected function runWebpack($dev = false)
     {
-        $dev = $dev /*|| config('app.env') === 'development'*/
-        ;
+        $dev = $dev || config('app.env') === 'development';
+
         $mix = 'const mix = require("laravel-mix");';
         foreach ($this->mixDirectories as $from => $to) {
             $mix .= 'mix.copyDirectory("' . $from . '","' . $to . '");';