Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): allow both script and module sour…
Browse files Browse the repository at this point in the history
…ceTypes to be localized
  • Loading branch information
minijus authored and alan-agius4 committed Sep 30, 2022
1 parent b6df9c1 commit f9a2c3a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -139,7 +139,7 @@ export async function inlineLocales(options: InlineOptions) {
ast = parseSync(options.code, {
babelrc: false,
configFile: false,
sourceType: 'script',
sourceType: 'unambiguous',
filename: options.filename,
});
} catch (error) {
Expand Down

0 comments on commit f9a2c3a

Please sign in to comment.