GithubHelp home page GithubHelp logo

isabella232 / broccoli-brocfile-loader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ember-cli/broccoli-brocfile-loader

0.0 0.0 0.0 1.21 MB

Find and load Brocfile.js files for use with the Broccoli asset builder

License: MIT License

JavaScript 100.00%

broccoli-brocfile-loader's Introduction

broccoli-brocfile-loader

The algorithm to find and load the Brocfile.js build specification file.

Installation

npm install broccoli-brocfile-loader

Usage

var loadBrocfile = require('broccoli-brocfile-loader');

var tree = loadBrocfile();

Running this code will:

  1. Find a file named Brocfile.js in the current folder or any of the parent folders. The search is case-independent and will throw an error if no matching file could be found.

  2. chdir() into the folder containing the Brocfile.js.

  3. Load the Brocfile.js code via require().

License

Broccoli was originally written by Jo Liss and is licensed under the MIT license.

broccoli-brocfile-loader's People

Contributors

alanhogan avatar alexdiliberto avatar bantic avatar ebryn avatar elmariofredo avatar ericf avatar ericlifka avatar fpauser avatar globegitter avatar hjdivad avatar jgwhite avatar jnicklas avatar joliss avatar jsphm avatar kaspertidemann avatar krisselden avatar mjackson avatar pootsbook avatar rich-harris avatar rlivsey avatar roryokane avatar rtablada avatar rwjblue avatar shanielh avatar simi avatar simonexmachina avatar stefanpenner avatar turbo87 avatar twokul avatar xulai avatar

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.