Giter Site home page Giter Site logo

require solution about brunch HOT 10 CLOSED

brunch avatar brunch commented on May 20, 2024
require solution

from brunch.

Comments (10)

MSch avatar MSch commented on May 20, 2024

+1 for 'inline imports' aka preprocessor statements. SproutCore uses them, Google Closure uses them..

from brunch.

tosh avatar tosh commented on May 20, 2024

+1 for preprocessor statements, preferably as comments similar to sprockets

#= require filepath

might be worth a thought to not require the file extension so it works for coffee and js files.

from brunch.

janmonschke avatar janmonschke commented on May 20, 2024

+1 preprocessor statements
#= filepath
Do we really need the require statement? Maybe we could make it optional.

from brunch.

tosh avatar tosh commented on May 20, 2024

pyrotechnick visited the irc channel and pointed us to

https://github.com/fairfieldt/coffeescript-concat

which seems like a neat require solution for coffeescript apps that might to exactly what we want :)

from brunch.

janmonschke avatar janmonschke commented on May 20, 2024

+1

from brunch.

tosh avatar tosh commented on May 20, 2024

alright. let's use coffeescript-concat

from brunch.

nikgraf avatar nikgraf commented on May 20, 2024

looks interesting

but i would like to see a nice testsuite before we include it …
(i know, even our testsuite is very incomplete, but we should keep the bar high)

from brunch.

bnolan avatar bnolan commented on May 20, 2024

I'm a bit late to this party - has anyone looked at stitch?

I used configuration files in capt (similair to how jammit works), but I don't really mind, as long as all files in app// are included by default (eg, you don't have to include backbone from all of your models).

from brunch.

nikgraf avatar nikgraf commented on May 20, 2024

I thought it doesn't work for us, but i believe i was wrong.
Maybe we can use it and kick out fusion.

from brunch.

nikgraf avatar nikgraf commented on May 20, 2024

Stitch worked out pretty well. It provides a CommonJS module implementation for client side applications. It was merged into brunch's master and will be available at 0.7 release …
For more information see #43

from brunch.

Related Issues (20)

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.