Skip to content

Commit cf6f3bb

Browse files
committed
Updated the material2build common config to use e2e path instead of demo-app path. This allows tests to actually run and the app to build as expected
1 parent c0c1f16 commit cf6f3bb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

addon/ng2/models/webpack-build-material2.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ export const webpackMaterialE2EConfig = {
148148
debug: true,
149149
context: path.resolve(__dirname, './'),
150150
entry: {
151-
main: [ngAppResolve('./src/demo-app/main.ts')],
152-
vendor: ngAppResolve('./src/demo-app/vendor.ts')
151+
main: [ngAppResolve('./src/e2e-app/main.ts')],
152+
vendor: ngAppResolve('./src/e2e-app/vendor.ts')
153153
},
154154
output: {
155155
path: './dist',
@@ -167,7 +167,7 @@ export const webpackMaterialE2EConfig = {
167167
}
168168
],
169169
ts: {
170-
configFileName: ngAppResolve('./src/demo-app/tsconfig.json')
170+
configFileName: ngAppResolve('./src/e2e-app/tsconfig.json')
171171
},
172172
loaders: [
173173
{
@@ -207,7 +207,7 @@ export const webpackMaterialE2EConfig = {
207207
new webpack.optimize.CommonsChunkPlugin({name: 'vendor'}),
208208
new ForkCheckerPlugin(),
209209
new HtmlWebpackPlugin({
210-
template: ngAppResolve('./src/demo-app/index.html'),
210+
template: ngAppResolve('./src/e2e-app/index.html'),
211211
chunksSortMode: 'dependency'
212212
}),
213213
],

0 commit comments

Comments
 (0)