Skip to content

Commit

Permalink
Merge 216819b into c5c7135
Browse files Browse the repository at this point in the history
  • Loading branch information
thijstriemstra committed Oct 29, 2020
2 parents c5c7135 + 216819b commit a7e339c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
dist: bionic
dist: focal
addons:
chrome: stable
firefox: latest
apt:
packages:
- ubuntu-restricted-addons
- chromium-codecs-ffmpeg-extra
- gstreamer1.0-fluendo-mp3
- gstreamer1.0-libav
- gstreamer1.0-plugins-ugly
- gstreamer1.0-vaapi
Expand All @@ -17,9 +16,7 @@ services:
- xvfb
cache: npm
install:
- npm prune
- npm install
- npm update
- npm install --legacy-peer-deps
script:
- npm run lint || travis_terminate 1
- npm run build || travis_terminate 1
Expand Down
6 changes: 6 additions & 0 deletions build-config/fragments/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ const datefns = require('date-fns');
const rootDir = path.resolve(__dirname, '..', '..');
const pckg = require(path.join(rootDir, 'package.json'));

// enable logging of deprecation warnings stacktrace
process.traceDeprecation = true;

// inject JS version number
const jsVersionPlugin = new webpack.DefinePlugin({
__VERSION__: JSON.stringify(pckg.version)
Expand All @@ -23,6 +26,9 @@ module.exports = {
performance: {
hints: false
},
stats: {
colors: true
},
module: {
rules: [
{
Expand Down
2 changes: 0 additions & 2 deletions build-config/fragments/min.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ module.exports = {
minimize: true,
minimizer: [
new TerserPlugin({
sourceMap: true,
parallel: true,
cache: './.build_cache/terser',
extractComments: false,
terserOptions: {
output: {
Expand Down
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const firefoxFlags = {
module.exports = function(config) {
var configuration = {
basePath: '',
frameworks: ['jasmine', 'jasmine-matchers'],
frameworks: ['jasmine', 'jasmine-matchers', 'webpack'],
hostname: 'localhost',
port: 9876,
logLevel: config.LOG_INFO,
Expand Down
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-integrate-test-plugin": "^1.0.0",
"esdoc-standard-plugin": "^1.0.0",
"eslint": "^7.12.0",
"eslint": "^7.12.1",
"htmlhint": "^0.14.1",
"in-publish": "^2.0.1",
"jasmine-core": "^3.6.0",
Expand All @@ -83,13 +83,12 @@
"karma-jasmine": "4.0.1",
"karma-jasmine-matchers": "4.0.2",
"karma-verbose-reporter": "0.0.6",
"karma-webpack": "^4.0.2",
"lint-staged": "^10.5.0",
"karma-webpack": "github:appzuka/karma-webpack#next",
"load-script": "^1.0.0",
"pre-commit": "^1.2.2",
"terser-webpack-plugin": "^4.2.2",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12",
"terser-webpack-plugin": "^5.0.3",
"webpack": "^5.3.1",
"webpack-cli": "^4.1.0",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^5.2.0"
},
Expand Down

0 comments on commit a7e339c

Please sign in to comment.