Skip to content

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 amitportnoy committed May 14, 2018
1 parent ab3c5c5 commit 1e306ca
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 1e306ca

Please sign in to comment.