Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'e2e',
'**',
'*.e2e-spec.ts'
)
],
capabilities: {
'browserName': 'chrome',
'chromeOptions': {
'args': ['--disable-extensions --ignore-certificate-errors']
}
},
directConnect: true,
// seleniumAddress: 'http://localhost:4444/wd/hub',
framework: 'jasmine',
jasmineNodeOpts: {
showColors: logger.logColor,
defaultTimeoutInterval: 30000
},
useAllAngular2AppRoots: true,
beforeLaunch: function () {
require('ts-node').register({ ignore: false });
},
onPrepare: function () {
jasmine.getEnv().addReporter(new SpecReporter());
}
};
// The (\\|\/) piece accounts for path separators in *nix and Windows
/angular(\\|\/)core(\\|\/)@angular/,
spaPath('src'),
{}
),
new OutputKeepAlivePlugin({
enabled: argv['output-keep-alive']
})
];
// Supporting a custom logging type of none
if (logFormat !== 'none') {
plugins.push(new SimpleProgressWebpackPlugin({
format: logFormat,
color: logger.logColor
}));
}
return {
entry: {
polyfills: [outPath('src', 'polyfills.ts')],
vendor: [outPath('src', 'vendor.ts')],
skyux: [outPath('src', 'skyux.ts')],
app: [appPath]
},
output: {
filename: '[name].js',
chunkFilename: '[id].chunk.js',
path: spaPath('dist'),
},
resolveLoader: {