In Angular template, rename boot.client.ts to boot.browser.ts for consistency
This commit is contained in:
parent
efdfbf5dbb
commit
4492d3eab7
|
|
@ -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: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue