We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a480af4 commit 38e4508Copy full SHA for 38e4508
tasks/javascript.js
@@ -21,8 +21,9 @@ var CONSOLE_WIDTH = config.getConsoleWidth();
21
var TRANSFORMS = [
22
to5ify.configure({ ignoreRegex: /(?!)/ }), // convert any es6 to es5 (ignoreRegex is degenerate)
23
stringify({ minify: true }), // allow import of html to a string
24
- ngAnnotate // @ngInject for angular injection points
+ config.isMinify && ngAnnotate // @ngInject for angular injection points
25
];
26
+// TODO @bholloway fix sourcemaps in ngAnnotate so that it may be included even when not minifying
27
28
gulp.task('js', function (done) {
29
console.log(hr('-', CONSOLE_WIDTH, 'javascript'));
0 commit comments