Skip to content

Commit

Permalink
chore: upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Jul 25, 2020
1 parent 1976dd4 commit aedfa47
Show file tree
Hide file tree
Showing 6 changed files with 8,804 additions and 7,455 deletions.
15 changes: 7 additions & 8 deletions demo/webpack.config.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
import * as CopyWebpackPlugin from 'copy-webpack-plugin';
import * as ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin';
import ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
import * as HtmlWebpackPlugin from 'html-webpack-plugin';
import { compact } from 'lodash';
import { resolve } from 'path';
import * as webpack from 'webpack';

const VERSION = JSON.stringify(require('../package.json').version);
const REVISION = JSON.stringify(
require('child_process')
.execSync('git rev-parse --short HEAD')
.toString()
.trim(),
require('child_process').execSync('git rev-parse --short HEAD').toString().trim(),
);

function root(filename) {
return resolve(__dirname + '/' + filename);
}

const tsLoader = env => ({
const tsLoader = (env) => ({
loader: 'ts-loader',
options: {
compilerOptions: {
Expand All @@ -27,7 +24,7 @@ const tsLoader = env => ({
},
});

const babelLoader = mode => ({
const babelLoader = (mode) => ({
loader: 'babel-loader',
options: {
generatorOpts: {
Expand Down Expand Up @@ -161,7 +158,9 @@ export default (env: { playground?: boolean; bench?: boolean } = {}, { mode }) =
ignore(/js-yaml\/dumper\.js$/),
ignore(/json-schema-ref-parser\/lib\/dereference\.js/),
ignore(/^\.\/SearchWorker\.worker$/),
new CopyWebpackPlugin(['demo/openapi.yaml']),
new CopyWebpackPlugin({
patterns: ['demo/openapi.yaml'],
}),
],
});

Expand Down
Loading

0 comments on commit aedfa47

Please sign in to comment.