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 Brocco committed May 16, 2018
1 parent 48ddbd5 commit 4ba5a9f
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 4ba5a9f

Please sign in to comment.