aaronfrost/grunt-traceur — pull request #11 by jmorrell (2013-10-16 04:37:43+00:00)
Title: Make sure that the copied files maintain the original structure.

I had the issue where the directory of files I was transpiling looked like:

```
js/
├── collections
│ └── todos.js
├── common.js
├── main.js
├── models
│ └── todo.js
├── routers
│ └── router.js
├── runtime.js
└── views
├── app.js
└── todos.js
```

but the output from grunt-traceur would lose instead of maintain the structure, and come out like:

```
build/
├── app.js
├── common.js
├── main.js
├── router.js
├── runtime.js
├── todo.js
└── todos.js
```

Which I then use require.js to load in the browser, but it fails do the the changed relative paths..

Removing `path.basename` seems to fix this, but I'm unclear on what the original motivation was for adding it in the first place. Is there something I'm missing here?