Skip to content

Commit af5977c

Browse files
committed
fix(@angular/cli): support no semicolon scripts
1 parent 9177ab3 commit af5977c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@angular/cli/plugins/scripts-webpack-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export class ScriptsWebpackPlugin {
116116
const concatSource = new ConcatSource();
117117
sources.forEach(source => {
118118
concatSource.add(source);
119-
concatSource.add('\n');
119+
concatSource.add('\n;');
120120
});
121121

122122
const combinedSource = new CachedSource(concatSource);

0 commit comments

Comments
 (0)