Download the PHP package balping/asset-bundler without Composer
On this page you can find all versions of the php package balping/asset-bundler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download balping/asset-bundler
More information about balping/asset-bundler
Files in balping/asset-bundler
Package asset-bundler
Short Description Bundles assets for Laravel Mix from Laravel Modules
License GPL-3.0-only
Informations about the package asset-bundler
Moved to GitLab
Warning: This project has been moved to GitLab: https://gitlab.com/balping/asset-bundler
Asset Bundler for Laravel Modules
This package provides a command that generates a js
and an scss
file that bundles all assets provided by each of your modules.
Install
This package is auto-discovered by Laravel, there's no need to register the provider manually.
Usage
Modules should include index.js
and index.scss
files. Example file structure:
Running
generates modules.js
and modules.scss
files in your main assets directory that you can require in app.js
and import in app.scss
:
Your module can have node dependencies too. If there's a package.json
in the root of a module, asset bundler creates the file resources/installed-modules/package.json
that requires your module's package.json
as a dependency. So if you add the following to your main package.json
file, all node dependencies of your modules will be required.
License
This library is licensed under GPLv3.
All versions of asset-bundler with dependencies
illuminate/console Version 5.5.*|5.6.*
nwidart/laravel-modules Version ~2.6.0|~3.0.0|~3.1.0|~3.2.0
matthiasmullie/path-converter Version ^1.1
balping/laravel-version Version ^1.0