Skip to content

Commit cc019c2

Browse files
committed
chore(webpack): remove unused E2E mode
1 parent af8e04d commit cc019c2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

templates/app/gulpfile.babel.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ function webpackCompile(options, cb) {
241241
gulp.task('webpack:dev', cb => webpackCompile({ DEV: true }, cb));
242242
gulp.task('webpack:dist', cb => webpackCompile({ BUILD: true }, cb));
243243
gulp.task('webpack:test', cb => webpackCompile({ TEST: true }, cb));
244-
gulp.task('webpack:e2e', cb => webpackCompile({ E2E: true }, cb));
245244
<%_ if(filters.ts) { -%>
246245

247246
// Install DefinitelyTyped TypeScript definition files
@@ -450,7 +449,7 @@ gulp.task('coverage:integration', () => {
450449
// Downloads the selenium webdriver
451450
gulp.task('webdriver_update', webdriver_update);
452451

453-
gulp.task('test:e2e', ['webpack:e2e', 'env:all', 'env:test', 'start:server', 'webdriver_update'], cb => {
452+
gulp.task('test:e2e', ['webpack:dist', 'env:all', 'env:test', 'start:server', 'webdriver_update'], cb => {
454453
gulp.src(paths.client.e2e)
455454
.pipe(protractor({
456455
configFile: 'protractor.conf.js',

templates/app/webpack.make.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ module.exports = function makeWebpackConfig(options) {
1818
*/
1919
var BUILD = !!options.BUILD;
2020
var TEST = !!options.TEST;
21-
var E2E = !!options.E2E;
2221
var DEV = !!options.DEV;
2322

2423
/**
@@ -61,7 +60,7 @@ module.exports = function makeWebpackConfig(options) {
6160

6261
// Output path from the view of the page
6362
// Uses webpack-dev-server in development
64-
publicPath: BUILD || DEV || E2E ? '/' : `http://localhost:${8080}/`,
63+
publicPath: BUILD || DEV ? '/' : `http://localhost:${8080}/`,
6564
//publicPath: BUILD ? '/' : 'http://localhost:' + env.port + '/',
6665

6766
// Filename for entry points

0 commit comments

Comments
 (0)