Skip to content

Commit 7092af5

Browse files
committed
bit more cleanup
1 parent 9fb4724 commit 7092af5

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

packages/test/webpack/dev_server.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@ app.use(require('webpack-dev-middleware')(compiler, {
1414

1515
app.use(require('webpack-hot-middleware')(compiler));
1616

17-
app.get('/node_modules/todomvc-app-css/index.css', (req, res) => {
18-
res.sendFile(path.join(
19-
__dirname, '../../../../node_modules/todomvc-app-css/index.css'));
20-
});
21-
22-
app.get('/', (req, res) => {
17+
app.get('*', (req, res) => {
2318
res.sendFile(path.join(__dirname, '..', 'static', 'index.html'));
2419
});
2520

packages/test/webpack/webpack.dev.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,7 @@ module.exports = {
2727
new ESLintPlugin({
2828
extensions: ["tsx", "ts"],
2929
}),
30-
new webpack.HotModuleReplacementPlugin(),
31-
new BundleAnalyzerPlugin({
32-
analyzerMode: 'static',
33-
openAnalyzer: false,
34-
defaultSizes: 'parsed',
35-
generateStatsFile: true
36-
})
30+
new webpack.HotModuleReplacementPlugin()
3731
],
3832
resolve: {
3933
modules: [

0 commit comments

Comments
 (0)