Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 51c8c9d

Browse filesBrowse files
authored
Merge pull request #5 from glook/1.0.2
1.0.2
2 parents de88879 + 3d85b81 commit 51c8c9d
Copy full SHA for 51c8c9d

File tree

3 files changed

+2
-4
lines changed
Filter options

3 files changed

+2
-4
lines changed

‎package.json

Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpack-typescript-react",
3-
"version": "1.0.0",
3+
"version": "1.0.2",
44
"description": "Webpack 5 boilerplate with support of most common loaders and modules",
55
"keywords": [
66
"react",

‎webpack/base.js

Copy file name to clipboardExpand all lines: webpack/base.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {arrayFilterEmpty} from './utils/helpers';
1313

1414
export default {
1515
context: __dirname,
16-
target: ['web', 'es5'],
16+
target: isDevServer ? 'web' : ['web', 'es5'],
1717
mode: isProd ? 'production' : 'development',
1818
entry,
1919
output: {

‎webpack/dev.js

Copy file name to clipboardExpand all lines: webpack/dev.js
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/**
22
* Created by: Andrey Polyakov (andrey@polyakov.im)
33
*/
4-
import path from 'path';
5-
64
import ReactRefreshWebpackPlugin from '@pmmmwh/react-refresh-webpack-plugin';
75

86
import {devServerConfig} from './config';

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.