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: {