build single test bunding using Webpack context
This commit is contained in:
parent
b72cf7c04b
commit
ade4216642
8 changed files with 81 additions and 31 deletions
|
@ -30,8 +30,8 @@ module.exports = function(config) {
|
|||
// static/lib resources
|
||||
'static/lib/**/*.js',
|
||||
|
||||
// Tests
|
||||
'static/js/**/*.spec.ts*',
|
||||
// Single entrypoint for all tests
|
||||
'static/test/test-index.ts',
|
||||
|
||||
// Tests utils
|
||||
'static/test/**/*.js',
|
||||
|
@ -41,7 +41,7 @@ module.exports = function(config) {
|
|||
'static/lib/ngReact/react.ngReact.min.js': ['webpack'],
|
||||
'static/lib/angular-moment.min.js': ['webpack'],
|
||||
'node_modules/core-js/index.js': ['webpack'],
|
||||
'static/js/**/*.spec.ts*': ['webpack'],
|
||||
'static/test/test-index.ts': ['webpack'],
|
||||
},
|
||||
webpack: webpackConfig,
|
||||
webpackMiddleware: {
|
||||
|
|
Reference in a new issue