I'm using the default source mapping built into Brunch. I see the files fine, but I cannot hit breakpoints within the source mapped files. Using the Javascript access to the debugger via debugger; works, which leads me to believe it's somethi...
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...
In an application generated by Brunch.io, how do we run tests? I would like to run them via the command line.   For eg., the todos application has quite exhaustive test coverage. But its Cakefile is empty. When I run 'cake test', it doesn'...
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': /...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.