webpack.tests.js 383 B

1234567891011121314151617
  1. const dev = require('./webpack.dev.js');
  2. const merge = require('webpack-merge');
  3. module.exports = merge(dev, {
  4. entry: {
  5. unittest: './tests/ts/bootstrap.ts',
  6. uitest: './tests/ui/bootstrap.ts',
  7. app_noinit: './tests/bootstrap.ts',
  8. unittest_karma: './tests/ts/main.ts',
  9. },
  10. devServer: {
  11. port: 7777,
  12. },
  13. output: {
  14. publicPath: '/dist/generated/',
  15. },
  16. });