Skip to content

Commit 87fc348

Browse files
committed
Set old versions of ts-loader / vue-loader for webpack 2 and 3
1 parent 83489d2 commit 87fc348

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ node_js:
44
install:
55
- yarn install
66
- yarn build
7-
- yarn add $WEBPACK -D
7+
- yarn add $WEBPACK $TSLOADER $VUELOADER -D
88
# Test against multiple webpack versions
99
env:
10-
11-
12-
10+
- WEBPACK=webpack@^4.0.0-beta.0 TSLOADER=^4.0.0-beta.0 VUELOADER=vue-loader@^14.1.0
11+
- WEBPACK=webpack@^3.10.0 TSLOADER=^3.4.0 VUELOADER=vue-loader@^13.5.0
12+
- WEBPACK=webpack@^2.7.0 TSLOADER=^3.4.0 VUELOADER=vue-loader@^13.5.0
1313
deploy:
1414
- provider: npm
1515

test/integration/index.spec.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11

22
var describe = require('mocha').describe;
33
var it = require('mocha').it;
4-
var expect = require('chai').expect;
4+
var chai = require('chai');
55
var path = require('path');
66
var webpack = require('webpack');
77
var ForkTsCheckerWebpackPlugin = require('../../lib/index');
88

9+
chai.config.truncateThreshold = 0
10+
var expect = chai.expect;
11+
912
var webpackMajorVersion = require('./webpackVersion')();
1013

1114
describe('[INTEGRATION] index', function () {

0 commit comments

Comments
 (0)