Closed Swaagie closed 12 years ago
This might be me doing something wrong, but the latest (0.0.8) version of square does not wrap the merged content of type dev. This can easily be recreated with the basic.js in the tests/fixtures, by wrapping it in a anonymous function.
dev
{ "configuration": { "dist": "/tmp/test.{type}.{ext}", "plugins": { "wrap": { "header": "(function() {\n", "footer": "})();", "leaks": false } } }, "bundle": { "basic.js": { "description": "wrap simple js to test the wrapper" } } }
Is this intended, can't think of a reason why?
Fixed by #40
This might be me doing something wrong, but the latest (0.0.8) version of square does not wrap the merged content of type
dev
. This can easily be recreated with the basic.js in the tests/fixtures, by wrapping it in a anonymous function.Is this intended, can't think of a reason why?