Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Prev Previous commit
fixed issues with publish
  • Loading branch information
kmkatsma committed Oct 28, 2016
commit 68bf67038ee033d7c2fe20c71789427dfedda91c
1 change: 0 additions & 1 deletion templates/AureliaSpa/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Aurelia</title>
<base href="/" />
</head>
<body>
@RenderBody()
Expand Down
1 change: 0 additions & 1 deletion templates/AureliaSpa/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
"include": [
"appsettings.json",
"ClientApp/dist",
"node_modules",
"Views",
"web.config",
"wwwroot"
Expand Down
2 changes: 0 additions & 2 deletions templates/AureliaSpa/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ var baseUrl = '/';
var project = require('./package.json');
var aureliaModules = Object.keys(project.dependencies).filter(dep => dep.startsWith('aurelia-'));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only gets the list of first-level dependencies of Aurelia, which means not all of Aurelia's dependencies might get into the aurelia-modules bundle specified in the entry config.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. However this approach is no longer used in the current version anyway - dependencies are now listed explicitly.


console.log (isDevBuild);

// Configuration for client-side bundle suitable for running in browsers
var clientBundleConfig = {
resolve: { extensions: [ '.js', '.ts' ] },
Expand Down