Skip to content

Commit

Permalink
Update composer.json to include the boostrap css .map file and includ…
Browse files Browse the repository at this point in the history
…e the map file in our deployment (NOJIRA) (#35)
  • Loading branch information
arlen authored Apr 22, 2022
1 parent 744c165 commit ebc5abf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@

"php -r \"copy('vendor/components/jquery/jquery.min.js', 'webroot/js/jquery/jquery.min.js');\"",
"php -r \"copy('vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js', 'webroot/js/bootstrap/bootstrap.bundle.min.js');\"",
"php -r \"copy('vendor/twbs/bootstrap/dist/css/bootstrap.min.css', 'webroot/css/bootstrap/bootstrap.min.css');\""
"php -r \"copy('vendor/twbs/bootstrap/dist/css/bootstrap.min.css', 'webroot/css/bootstrap/bootstrap.min.css');\"",
"php -r \"copy('vendor/twbs/bootstrap/dist/css/bootstrap.min.css.map', 'webroot/css/bootstrap/bootstrap.min.css.map');\""
],
"post-update-cmd": [
"php -r \"if(!is_dir('webroot/js/jquery/')) { mkdir('webroot/js/jquery/', 0755, true); }\"",
Expand All @@ -61,7 +62,8 @@

"php -r \"copy('vendor/components/jquery/jquery.min.js', 'webroot/js/jquery/jquery.min.js');\"",
"php -r \"copy('vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js', 'webroot/js/bootstrap/bootstrap.bundle.min.js');\"",
"php -r \"copy('vendor/twbs/bootstrap/dist/css/bootstrap.min.css', 'webroot/css/bootstrap/bootstrap.min.css');\""
"php -r \"copy('vendor/twbs/bootstrap/dist/css/bootstrap.min.css', 'webroot/css/bootstrap/bootstrap.min.css');\"",
"php -r \"copy('vendor/twbs/bootstrap/dist/css/bootstrap.min.css.map', 'webroot/css/bootstrap/bootstrap.min.css.map');\""
],
"post-create-project-cmd": "App\\Console\\Installer::postInstall",
"check": [
Expand Down
1 change: 1 addition & 0 deletions app/webroot/css/bootstrap/bootstrap.min.css.map

Large diffs are not rendered by default.

0 comments on commit ebc5abf

Please sign in to comment.