Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
tweak(Tinebase) use prod like minifier for unittests
Browse files Browse the repository at this point in the history
Change-Id: I62ba4928f4a4145466bd40ff3b023bdb6703a387
Reviewed-on: http://gerrit.tine20.com/customers/12709
Tested-by: Jenkins CI (http://ci.tine20.com/) <tine20-jenkins@metaways.de>
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
  • Loading branch information
corneliusweiss authored and pschuele committed May 3, 2019
1 parent 61c2534 commit 589af4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions tine20/Tinebase/js/webpack.dev.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const merge = require('webpack-merge');
const common = require('./webpack.common.js');
const TerserPlugin = require('terser-webpack-plugin')

module.exports = merge(common, {
devtool: 'eval',
Expand Down
5 changes: 2 additions & 3 deletions tine20/Tinebase/js/webpack.unittest.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
let path = require('path')
const merge = require('webpack-merge');
const common = require('./webpack.common.js');
const prod = require('./webpack.prod.js');

module.exports = merge(common, {
module.exports = merge(prod, {
entry: null,
devtool: 'inline-source-map',
module: {
rules: [
{
Expand Down

0 comments on commit 589af4d

Please sign in to comment.