From 5c2669ec226fa988d659f79e8dfd94428260e706 Mon Sep 17 00:00:00 2001 From: Gennaro Landolfi Date: Tue, 13 Feb 2024 13:02:41 +0100 Subject: [PATCH 1/2] Fixed typo in alpinejs.md --- docs/integrations/alpinejs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/alpinejs.md b/docs/integrations/alpinejs.md index a9bce31..cec600b 100644 --- a/docs/integrations/alpinejs.md +++ b/docs/integrations/alpinejs.md @@ -11,7 +11,7 @@ Alpine can be bootstrapped with ease using a [local module](https://laravel-bund **_Note that if you are trying out Bundle in a project that already uses Alpine there is no need for this. You can start using imports inside your components immediately, with zero config_** -First make sure you have [path rewritig](https://laravel-bundle.dev/local-modules.html) set up. Then install Alpine. +First make sure you have [path rewriting](https://laravel-bundle.dev/local-modules.html) set up. Then install Alpine. ```bash npm install alpinejs From a0e1ef8fb2a4d19d2645b17ca2327a8d67192897 Mon Sep 17 00:00:00 2001 From: Gennaro Landolfi Date: Tue, 13 Feb 2024 13:14:08 +0100 Subject: [PATCH 2/2] Fixed typo in roadmap.md --- docs/roadmap.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/roadmap.md b/docs/roadmap.md index 85ae71a..ab01a23 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -10,17 +10,13 @@ Bundle is under active development. If you feel there are features missing or yo ## CSS loader -Bun doesn't ship with a css loader. They have it on [the roadmap](https://github.com/oven-sh/bun/issues/159){:target="\_blank"} but no release date is known at this time. We plan to support css loading out-of-the-box as soon as Bun does! +Bun doesn't ship with a CSS loader. They have it on [the roadmap](https://github.com/oven-sh/bun/issues/159){:target="\_blank"} but no release date is known at this time. We plan to support CSS loading out-of-the-box as soon as Bun does! Plugin support is a feature we'd like to experiment with. If that is released before Bun's builtin css loader does, it might be possible to write your own plugin to achieve this. -## Bun plugin support - -We'd like to add 3rd party plugin support and, in the spirit of making things even more meta than they already are, also try to support custom plugins right from inside your `resources` directory. - ## Initable exports -When importing a local module, the only method to immidiatly invoke some code is by using the [IIFE export](https://laravel-bundle.dev/local-modules.html#iife-exports) method. +When importing a local module, the only method to immediately invoke some code is by using the [IIFE export](https://laravel-bundle.dev/local-modules.html#iife-exports) method. An alternative API is possible that would make it a bit easier to structure your code. Consider the following example script in `resources/js/some-module.js`. (needs a jsconfig.json for path remapping)