Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Mimeo Laravel Package

becklyn/mimeo

View on GitHub
Deep Wiki
Context7

Mimeo Bundle

Mimeo: copy (static) assets from NPM packages into your symfony project.

The name is inspired by the short name of a mimeograph.

Integration of Installation Paths

The symfony bundle can choose where the mimeo assets should be installed to. If the packages use SCSS files that reference these assets relatively, the installation path must be adapted.

The npm package, as well as the project that is using these assets, are supposed to declare (Symfony) respectively use (SCSS) a global variable called $mimeo-install-path.

The path must not end with a /.

In the npm package SCSS this can look like this:

$mimeo-install-path: ".." !default;

// .. later ..

a {
    background-image: url("#{$mimeo-install-path}/install-dir/img/example.jpg");
}

And in your project's SCSS like this:

$mimeo-install-path: "../mimeo";
@import "@becklyn/some-package";

Note the install-dir: the npm package knows the target directory where it will be installed to (as it defines it in the mimeo mapping in their package.json), so this must be used here as well.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle