File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {arrayFilterEmpty} from './utils/helpers';
1313
1414export default {
1515 context : __dirname ,
16- target : [ 'web' , 'es5' ] ,
16+ target : isDevServer ? 'web' : [ 'web' , 'es5' ] ,
1717 mode : isProd ? 'production' : 'development' ,
1818 entry,
1919 output : {
Original file line number Diff line number Diff line change 11/**
22 * Created by: Andrey Polyakov (andrey@polyakov.im)
33 */
4- import path from 'path' ;
5-
64import ReactRefreshWebpackPlugin from '@pmmmwh/react-refresh-webpack-plugin' ;
75
86import { devServerConfig } from './config' ;
You can’t perform that action at this time.
0 commit comments