From 6fb8d8688068601afe5373ea853d9f6067a54730 Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Thu, 31 May 2018 16:54:30 -0400 Subject: [PATCH 1/2] Remove unused script-loader for highlightjs --- webpack.config.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index d87ece7bf..c10b1d11b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -121,10 +121,6 @@ module.exports = [ test: require.resolve('stats.js/build/stats.min.js'), loader: 'script-loader' }, - { - test: require.resolve('highlightjs/highlight.pack.min.js'), - loader: 'script-loader' - }, { test: require.resolve('scratch-blocks/dist/vertical.js'), loader: 'expose-loader?Blockly' From 14f56d713fb7df8ebc1c62801d1c89c9ab8cde76 Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Thu, 31 May 2018 17:03:55 -0400 Subject: [PATCH 2/2] Make sure the thing can build in PRs This would have caught the issue in #1106 --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index daac9aad0..76950271a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,9 @@ jobs: include: - env: NPM_SCRIPT=lint node_js: 8 + - env: NPM_SCRIPT=build + node_js: 8 + if: not (branch in (master, develop) and type != pull_request) - stage: release node_js: 8 env: NPM_SCRIPT=build