Git Product home page Git Product logo

broccolijs-tutorial's People

Contributors

acorncom avatar jaredgalanis avatar oligriffiths avatar sivakumar-kailasam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

broccolijs-tutorial's Issues

How to do some assets modification?

For example:

  • How to create 2-4 copy of .jpg with differend quality and rename it from sun.jpg -> sun_low.jpg, sun_mid.jpg, sun_hi.jpg, sun_retina.jpg
  • convert all .png into .webp?
  • create list of chanks for audiofile and put each chung in dist subfolder? {1.mp3, 2.mp3 -> /1/file.mp3, /2/file.mp3}

How it may looks like in broccoli tree paradigm?
for example, I have external js plugins, and they accept binary data and return binary.

1.)

import imgScaler from 'some-repo';
let scaledResult =  await imgScaler(rawInput, { sceleQuality: 25 });

2.)

import imgConverter from 'some-repo';
let convertedImg =  await imgConverter(rawJPGInput, { output: 'webp' });

3.)

import musicSlicer from  'some-repo';
let slices =  await musicSlicer(rawMp3FileInput, { slices: 42 });

How to extract binary from tree?
How to "replace" one binary to another?
How to dynamically add binary into tree?
How to rename tree item?

License?

Hey Oli,

I came across this repo by way of some of my LinkedIn colleagues indicating that they're helping to review it. There's no indication of licensing for this content -- can we add a MIT or similarly permissive LICENSE.md?

Minify not working

Thanks for the great tutorial @oligriffiths .

I'm trying out step 12 and I can see minification working for CSS but not JS. Is there some additional config needed for uglify? When I say not working I mean there is no difference between the production and development app.js files, and in production that file contains whitespace and long variable names.

Here's the article and I've confirmed this on the branch.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.