From 4492d3eab7a503f6444a36656a79e42bd059ea50 Mon Sep 17 00:00:00 2001 From: Steve Sanderson Date: Fri, 7 Jul 2017 17:16:47 +0100 Subject: [PATCH] In Angular template, rename boot.client.ts to boot.browser.ts for consistency --- .../AngularSpa/ClientApp/{boot.client.ts => boot.browser.ts} | 0 templates/AngularSpa/webpack.config.js | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename templates/AngularSpa/ClientApp/{boot.client.ts => boot.browser.ts} (100%) diff --git a/templates/AngularSpa/ClientApp/boot.client.ts b/templates/AngularSpa/ClientApp/boot.browser.ts similarity index 100% rename from templates/AngularSpa/ClientApp/boot.client.ts rename to templates/AngularSpa/ClientApp/boot.browser.ts diff --git a/templates/AngularSpa/webpack.config.js b/templates/AngularSpa/webpack.config.js index 69a2e30..fd1ff6e 100644 --- a/templates/AngularSpa/webpack.config.js +++ b/templates/AngularSpa/webpack.config.js @@ -29,7 +29,7 @@ module.exports = (env) => { // Configuration for client-side bundle suitable for running in browsers const clientBundleOutputDir = './wwwroot/dist'; const clientBundleConfig = merge(sharedConfig, { - entry: { 'main-client': './ClientApp/boot.client.ts' }, + entry: { 'main-client': './ClientApp/boot.browser.ts' }, output: { path: path.join(__dirname, clientBundleOutputDir) }, plugins: [ new webpack.DllReferencePlugin({ @@ -69,7 +69,7 @@ module.exports = (env) => { new AotPlugin({ tsConfigPath: './tsconfig.json', entryModule: path.join(__dirname, 'ClientApp/app/app.module.server#AppModule'), - exclude: ['./**/*.client.ts'] + exclude: ['./**/*.browser.ts'] }) ]), output: {