Skip to content

Commit

Permalink
removing unused packages
Browse files Browse the repository at this point in the history
  • Loading branch information
sakul-budhathoki committed Nov 26, 2018
1 parent e487fc8 commit be16107
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 82 deletions.
73 changes: 2 additions & 71 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"@fortawesome/fontawesome-svg-core": "^1.2.8",
"@fortawesome/free-solid-svg-icons": "^5.5.0",
"@fortawesome/react-fontawesome": "^0.1.3",
"axios": "^0.18.0",
"babel-polyfill": "6.26.0",
"bootstrap": "^4.1.3",
"chalk": "^2.3.2",
Expand Down Expand Up @@ -106,7 +105,6 @@
"file-loader": "1.1.11",
"html-loader": "0.5.5",
"html-webpack-plugin": "3.2.0",
"http-proxy-middleware": "^0.19.1",
"image-webpack-loader": "^4.3.1",
"imports-loader": "0.8.0",
"jest-cli": "^23.1.0",
Expand Down
10 changes: 1 addition & 9 deletions server/middlewares/addDevMiddlewares.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const proxy = require('http-proxy-middleware');
const path = require('path');
const webpack = require('webpack');
const webpackDevMiddleware = require('webpack-dev-middleware');
Expand All @@ -19,14 +18,7 @@ module.exports = function addDevMiddlewares(app, webpackConfig) {
compiler,
webpackConfig.output.publicPath
);
app.use(
'/api',
proxy({
target: 'http://localhost:47279/api',
logLevel: 'silent',
changeOrigin: true
})
);

app.use(middleware);
app.use(webpackHotMiddleware(compiler));

Expand Down

0 comments on commit be16107

Please sign in to comment.