Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.

Commit

Permalink
fix(@angular-devkit/build-angular): support mjs extension
Browse files Browse the repository at this point in the history
  • Loading branch information
amitport authored and hansl committed May 14, 2018
1 parent dec89d7 commit ddf7edd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
mode: buildOptions.optimization ? 'production' : 'development',
devtool: false,
resolve: {
extensions: ['.ts', '.js'],
extensions: ['.ts', '.mjs', '.js'],
symlinks: !buildOptions.preserveSymlinks,
modules: [
wco.tsConfig.options.baseUrl || projectRoot,
Expand Down

0 comments on commit ddf7edd

Please sign in to comment.