I have Brunch set up for ease of compiling JS together, but want to also be able to use a node.js module with require.  After trying for a while, I'm stumped.  I want to be able to do something like this:  var myJSfile1 = require('foo');...
I wanted to try out Brunch and am having some trouble getting my compiled JS files to execute in the browser.   The file gets compiled and loaded by the page into the browser. If I stick an alert or a console log in the source files and do a build, t...
I want all vendor code to be wrapped in AMD modules. I have defined this section in my config.coffee:  modules:     wrapper: 'amd'     definition: 'amd'   But it seems like brunch uses AMD optimizer only for 'app' folder files...
Update:   For anyone interested in using Brunch with AngularJS I've put together a seed project angular-brunch-seed   I'm using Brunch with AngularJS. AngularJS provides a module system so the need for importing file using commonJS / AMD i...
We want to use the same build system across multiple projects. I have a working brunch configuration file that I want to put in a git submodule, so that that submodule can be referenced in multiple projects and changes are easily propagated (less fra...
I am using require.js as part of a brunch project. This code is throwing the error:   ;require.config({ // require.config is not a function paths: {    jquery: "lib/jquery",    underscore: "lib/underscore",    backbone: "lib/backb...
I watched Paul Irish's talk announcing Yeoman (www.yeoman.io), and I'm hooked on the concept of running a continuous build environment. Not content to wait for a Yeoman invite, I tried Grunt and Brunch. Both install easily, and I can get new...
I have made two bundles of javascript from our project- vendor and app. I do this in the manner suggested by the documentation, as seen in this snippet from my brunch-config.js:  files: {   javascripts: {     joinTo: {       'js/vendor.js': /...
I am developing an app with brunch. I am new to it and to trace an error I have to enable LOGGY_STACKS=true. How can I set it up?  Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace....
My Elm code (https://github.com/puruzio/seat_saver) works fine in Elm Reactor, and compiles well with elm-make, but when I compile it through brunch, I get the following error. This doesn't give me much clue as to where to fix the error.  My-MacB...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.