All Projects → RomainLanz → adonis-bundler

RomainLanz / adonis-bundler

Licence: MIT license
Blazing fast, zero configuration assets bundler for AdonisJS

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to adonis-bundler

Trunk
Build, bundle & ship your Rust WASM application to the web.
Stars: ✭ 378 (+1889.47%)
Mutual labels:  bundler, assets
Jekyll Minibundle
A minimalistic asset bundling plugin for Jekyll
Stars: ✭ 65 (+242.11%)
Mutual labels:  bundler, assets
Instapack
All-in-one TypeScript and Sass compiler for web applications! 📦 🚀
Stars: ✭ 131 (+589.47%)
Mutual labels:  bundler, zero-configuration
Website-downloader
💡 Download the complete source code of any website (including all assets). [ Javascripts, Stylesheets, Images ] using Node.js
Stars: ✭ 615 (+3136.84%)
Mutual labels:  assets
eidos-audition
Collection of auditory models.
Stars: ✭ 25 (+31.58%)
Mutual labels:  pipeline
awesome-esbuild
A curated list of awesome esbuild resources
Stars: ✭ 195 (+926.32%)
Mutual labels:  bundler
runiac
Run IaC Anywhere With Ease
Stars: ✭ 18 (-5.26%)
Mutual labels:  pipeline
assets generator
The flutter tool to generate assets‘s configs(yaml) and consts automatically for single project and multiple modules.
Stars: ✭ 34 (+78.95%)
Mutual labels:  assets
BACTpipe
BACTpipe: An assembly and annotation pipeline for bacterial genomics
Stars: ✭ 19 (+0%)
Mutual labels:  pipeline
cpp-from-zero-to-one
Learning C++ from zero to one
Stars: ✭ 52 (+173.68%)
Mutual labels:  pipeline
hashed-asset-bundle
Apply an asset version based on a hash of the asset for symfony/asset
Stars: ✭ 24 (+26.32%)
Mutual labels:  assets
gawn
Genome Annotation Without Nightmares
Stars: ✭ 35 (+84.21%)
Mutual labels:  pipeline
grape-nf
An automated RNA-seq pipeline using Nextflow
Stars: ✭ 30 (+57.89%)
Mutual labels:  pipeline
rna-seq-snakemake
Snakemake based pipeline for RNA-Seq analysis
Stars: ✭ 29 (+52.63%)
Mutual labels:  pipeline
wage
A WASM package and web app for encrypting and decrypting age-encrypted files, powered by rage.
Stars: ✭ 48 (+152.63%)
Mutual labels:  zero-configuration
ember-pipeline
Railway oriented programming in Ember
Stars: ✭ 17 (-10.53%)
Mutual labels:  pipeline
pipelineRD
A chain of responsability pattern implementation in .NET that supports retry policy, sync and async steps, rollback, pipeline recovery by cache and visual documentation using diagrams.
Stars: ✭ 19 (+0%)
Mutual labels:  pipeline
next-boilerplate
☶ The easiest way to create a Next app by running one command.
Stars: ✭ 65 (+242.11%)
Mutual labels:  zero-configuration
xp
A framework (comand line tool + libraries) for creating flexible compute pipelines
Stars: ✭ 54 (+184.21%)
Mutual labels:  pipeline
HTGS
The Hybrid Task Graph Scheduler API
Stars: ✭ 36 (+89.47%)
Mutual labels:  pipeline

adonis-bundler

Adonis Bundler is the simpliest assets bundler you could ever found for an Adonis application.

It's based on ParcelJS which is a blazing fast, zero configuration web application bundler.

Getting Started

This package should be installed with the Adonis CLI.

$ adonis install adonis-bundler

Then register the Service Provider within your start/app.js file.

const providers = [
  'adonis-bundler/providers/BundlerProvider',
]

You are now ready to go!

Bundle the assets

By default adonis-bundler look at files stored within your resources/assets folder and check for file with the pattern */app.*. That means, all the file within your resource/assets/XXX folder named app.XXX will be bundled.

After creating your assets in the way you want (Less, SCSS, Stylus, ES2015, ...) you simply need to run the command below and the magic will happen.

$ adonis bundle
# adonis bundle --watch -> Watch for change
# adonis bundle --production -> Minify

ParcelJS will automaticaly download packages you need to compiles your assets and will then run them.

Config

The config file is save as config/bundle.js. Make sure to tweak it as per your needs.

The bundler also check for .babelrc, postcss.config.js or whatever file your "language"/"transpiler" used by default to be configured to help you configure your assets the way you want.

FAQ

I want to do X and I cannot do it with this package
You maybe want to do something that is out of the scope of this package. Don't worry, you aren't obligated to use it. This main goal of this package is to provide an easy way to compile assets for 90% of developper. Nothing keeps you from installing Webpack and doing a custom configuration.

Is ParcelJS's plugins working with this package
YES!

How can I create an hash named compiled assets for production caching?
Unfortunately, you cannot for the moment. Some discussions are going on in ParcelJS repository and hopefully this will be possible soon.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].