Skip to content

Commit

Permalink
Merge pull request #5 from glook/1.0.2
Browse files Browse the repository at this point in the history
1.0.2
  • Loading branch information
glook committed Dec 3, 2020
2 parents de88879 + 3d85b81 commit 51c8c9d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webpack-typescript-react",
"version": "1.0.0",
"version": "1.0.2",
"description": "Webpack 5 boilerplate with support of most common loaders and modules",
"keywords": [
"react",
Expand Down
2 changes: 1 addition & 1 deletion webpack/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {arrayFilterEmpty} from './utils/helpers';

export default {
context: __dirname,
target: ['web', 'es5'],
target: isDevServer ? 'web' : ['web', 'es5'],
mode: isProd ? 'production' : 'development',
entry,
output: {
Expand Down
2 changes: 0 additions & 2 deletions webpack/dev.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
* Created by: Andrey Polyakov (andrey@polyakov.im)
*/
import path from 'path';

import ReactRefreshWebpackPlugin from '@pmmmwh/react-refresh-webpack-plugin';

import {devServerConfig} from './config';
Expand Down

0 comments on commit 51c8c9d

Please sign in to comment.