Skip to content

Commit

Permalink
🆙 Deps upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonBoy committed Nov 13, 2019
1 parent 4fd15de commit 48a9c3f
Show file tree
Hide file tree
Showing 10 changed files with 3,496 additions and 2,170 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
language: node_js
node_js:
- 8
- 10
- 12
- stable
script: npm run build
script: npm run build
3 changes: 1 addition & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const session = require('koa-session');
const views = require('koa-views');
const morgan = require('koa-morgan');
const serveStatic = require('koa-static');
const convert = require('koa-convert');
const helmet = require('koa-helmet');
const cons = require('consolidate');
const nunjucks = require('nunjucks');
Expand Down Expand Up @@ -138,7 +137,7 @@ async function initHMR() {
if (!HMRInitialized) {
HMRInitialized = true;
// app.use(instance);
app.use(convert(historyApiFallback()));
app.use(historyApiFallback());
app.use(instance);
}
})
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = function(api) {
'@babel/preset-env',
{
targets: {},
useBuiltIns: 'usage',
useBuiltIns: 'entry',
modules: false,
corejs: 3,
},
Expand Down
2 changes: 1 addition & 1 deletion config/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const ManifestPlugin = require('webpack-manifest-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const InlineChunkWebpackPlugin = require('html-webpack-inline-chunk-plugin');
const MomentLocalesPlugin = require('moment-locales-webpack-plugin');

Expand Down
Loading

0 comments on commit 48a9c3f

Please sign in to comment.