Skip to content

Commit 5911719

Browse files
committed
removed webpack dashboard plugin, it does not play well with nodemon
FormidableLabs/webpack-dashboard#223
1 parent 0c30844 commit 5911719

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

client/App.js

+1-8
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,7 @@ import { BrowserRouter } from 'react-router-dom';
1111
import Header from '~/common/components/Header';
1212

1313
class App extends Component {
14-
componentDidMount() {
15-
axios.post('/api/NumberlockSession/')
16-
.then((response) => {
17-
console.log(response);
18-
}).catch((err) => {
19-
return err;
20-
});
21-
}
14+
2215

2316
render() {
2417
return (

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@
130130
"webpack": "^4.28.3",
131131
"webpack-bundle-analyzer": "^3.0.3",
132132
"webpack-cli": "^3.2.0",
133-
"webpack-dashboard": "^2.0.0",
134133
"webpack-dev-server": "^3.1.14",
135134
"webpack-manifest-plugin": "^2.0.4",
136135
"webpack-merge": "^4.1.5",

webpack.dev.js

-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ const webpack = require('webpack');
66
const baseConfig = require('./webpack.common.js');
77

88
// webpack plugins
9-
const Dashboard = require('webpack-dashboard');
10-
const DashboardPlugin = require('webpack-dashboard/plugin');
11-
const dashboard = new Dashboard();
129
const HtmlWebpackPlugin = require('html-webpack-plugin');
1310

1411
const configureCss = () => {
@@ -119,7 +116,6 @@ module.exports = merge(
119116
plugins: [
120117
new webpack.HotModuleReplacementPlugin(),
121118
new HtmlWebpackPlugin(configureHtml()),
122-
new DashboardPlugin(dashboard.setData),
123119
],
124120
}
125121
)

0 commit comments

Comments
 (0)