jrburke/r.js — Issue #41: Preserve comments
Author: outaTiME
Created: 2011-11-21 18:40:23+00:00
State: open

Hi guys,

i making some test cases and its imposible to preserve the comments from source files, in need to include my copyright info at the begining of file ...

take a look ...

```javascript
modules: [
{
name: "foo", // merge requirejs with foo file from src folder
include: ["../vendor/requirejs/require", "foo"],
// True tells the optimizer it is OK to create a new file foo.js.
// Normally the optimizer wants foo.js to exist in the source directory.
create: true
}
]
```

note: in my foo.js file from source folder we have an comment like ...

```javascript
/*! wooooot copyright ... fooo ... blaaa ... 2011*/
```