jrburke/r.js — Issue #126: Setting modules in build file overwrites source 
Author: kleung1138
Created: 2012-03-09 22:33:32+00:00
State: open

When I'm having problem where it seem my source code keeps getting over written when I set modules.
For example:.
({
appDir: "../src",
baseUrl: "../src/js",
dir: "../build",
modules: [
{
name: "dir/mod1"
}
})

When I run r.js using a similar build file, 'mod1' is replaced in the src/js directory with 'mod1' having all its dependencies concatenated and embedded.