Skip to content

Commit

Permalink
fix: remove workingdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanSchleret committed Jul 23, 2024
1 parent f793733 commit 1d241b0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ You can use this package by simply calling the `view` helper function with the n
You can set the path to the mjml binary in your `.env` file.

```env
LARA_MJML_WORKING_DIRECTORY=resources/views
MJML_NODE_PATH=null
LARA_MJML_BEAUTIFY=false
LARA_MJML_MINIFY=true
Expand Down
8 changes: 0 additions & 8 deletions config/laramjml.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@
*/
'binary_path' => env('MJML_NODE_PATH', null),


/*
* The path to the working directory
*
* string
*/
'working_directory' => env('LARA_MJML_WORKING_DIRECTORY', base_path('resources/views')),

/*
* Beautify the output
*
Expand Down
1 change: 0 additions & 1 deletion src/Providers/LaraMjmlServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public function boot(): void
->beautify(Config::get('laramjml.beautify'))
->minify(Config::get('laramjml.minify'))
->keepComments(Config::get('laramjml.keep_comments'))
->workingDirectory(Config::get('laramjml.working_directory'))
->convert($view, ...Config::get('laramjml.options'))
->html();
}
Expand Down

0 comments on commit 1d241b0

Please sign in to comment.