mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
In Angular template, rename boot.client.ts to boot.browser.ts for consistency
This commit is contained in:
@@ -29,7 +29,7 @@ module.exports = (env) => {
|
|||||||
// Configuration for client-side bundle suitable for running in browsers
|
// Configuration for client-side bundle suitable for running in browsers
|
||||||
const clientBundleOutputDir = './wwwroot/dist';
|
const clientBundleOutputDir = './wwwroot/dist';
|
||||||
const clientBundleConfig = merge(sharedConfig, {
|
const clientBundleConfig = merge(sharedConfig, {
|
||||||
entry: { 'main-client': './ClientApp/boot.client.ts' },
|
entry: { 'main-client': './ClientApp/boot.browser.ts' },
|
||||||
output: { path: path.join(__dirname, clientBundleOutputDir) },
|
output: { path: path.join(__dirname, clientBundleOutputDir) },
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.DllReferencePlugin({
|
new webpack.DllReferencePlugin({
|
||||||
@@ -69,7 +69,7 @@ module.exports = (env) => {
|
|||||||
new AotPlugin({
|
new AotPlugin({
|
||||||
tsConfigPath: './tsconfig.json',
|
tsConfigPath: './tsconfig.json',
|
||||||
entryModule: path.join(__dirname, 'ClientApp/app/app.module.server#AppModule'),
|
entryModule: path.join(__dirname, 'ClientApp/app/app.module.server#AppModule'),
|
||||||
exclude: ['./**/*.client.ts']
|
exclude: ['./**/*.browser.ts']
|
||||||
})
|
})
|
||||||
]),
|
]),
|
||||||
output: {
|
output: {
|
||||||
|
|||||||
Reference in New Issue
Block a user