From d772043be6945a523f1f4a5304cb61542e17b806 Mon Sep 17 00:00:00 2001 From: Willem Leuverink Date: Wed, 24 Jan 2024 01:04:32 +0100 Subject: [PATCH 1/8] update docs --- docs/introduction.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/introduction.md b/docs/introduction.md index 530efaa..6cdc543 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -35,7 +35,6 @@ A script tag with `type="module"` also makes it `defer` by default, so they are When you use the `` component Bundle constructs a small JS script that imports the desired module and exposes it on the page, along with the `_import` helper function. It then bundles it up and caches it in the `storage/app/bundle` directory. This is then either served over http or rendered inline. -
From 09ebba2b352b982c8939e66132c2c02e68026887 Mon Sep 17 00:00:00 2001 From: Willem Leuverink Date: Thu, 25 Jan 2024 17:21:18 +0100 Subject: [PATCH 5/8] use chrome in headless mode --- tests/DuskTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/DuskTestCase.php b/tests/DuskTestCase.php index 4be6968..5219eb0 100644 --- a/tests/DuskTestCase.php +++ b/tests/DuskTestCase.php @@ -24,7 +24,7 @@ protected function setUp(): void public static function setUpBeforeClass(): void { - // Options::withoutUI(); + Options::withoutUI(); parent::setUpBeforeClass(); } From e15fe849559647806a349cd9ac50c02aa1ad6415 Mon Sep 17 00:00:00 2001 From: Willem Leuverink Date: Thu, 25 Jan 2024 17:22:04 +0100 Subject: [PATCH 6/8] wip - forgot to import --- tests/DuskTestCase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/DuskTestCase.php b/tests/DuskTestCase.php index 5219eb0..4c8f0bb 100644 --- a/tests/DuskTestCase.php +++ b/tests/DuskTestCase.php @@ -6,6 +6,7 @@ use Laravel\Dusk\Browser; use Illuminate\Support\Facades\Blade; use Illuminate\Support\Facades\Route; +use Orchestra\Testbench\Dusk\Options; use Orchestra\Testbench\Concerns\WithWorkbench; use Orchestra\Testbench\Dusk\TestCase as BaseTestCase; use Orchestra\Testbench\Http\Middleware\VerifyCsrfToken; From 01274cca8ee900b9949a40fb76f01d9f0c5bf182 Mon Sep 17 00:00:00 2001 From: Willem Leuverink Date: Thu, 25 Jan 2024 17:25:05 +0100 Subject: [PATCH 7/8] fix whitespace in docs --- docs/introduction.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/introduction.md b/docs/introduction.md index 6cdc543..3b9f7a7 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -35,13 +35,11 @@ A script tag with `type="module"` also makes it `defer` by default, so they are When you use the `` component Bundle constructs a small JS script that imports the desired module and exposes it on the page, along with the `_import` helper function. It then bundles it up and caches it in the `storage/app/bundle` directory. This is then either served over http or rendered inline. - -
+--> ## The `_import` helper function From 0a2157dc86afa70ee96ff3347214780e1bb0047d Mon Sep 17 00:00:00 2001 From: Willem Leuverink Date: Thu, 25 Jan 2024 20:02:56 +0100 Subject: [PATCH 8/8] update docs --- README.md | 2 +- docs/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bf44e7b..aaa4852 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ This is all you need to start using Bundle! ## Basic usage -You may bundle any `node_module` or local script from your `resources/js` directory directly on the page. +You may import any `node_module` or local module from your `resources/js` directory directly on the page. ```html diff --git a/docs/index.md b/docs/index.md index 7b51bae..b17645e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -33,7 +33,7 @@ This is all you need to start using Bundle! ## Basic usage -You may bundle any `node_module` or local script from your `resources/js` directory directly on the page. +You may import any `node_module` or local module from your `resources/js` directory directly on the page. ```html