You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,8 @@ This preset does all dirty job for setting up Webpack for you. It implements a s
22
22
- Tree-shaking to create smaller bundles
23
23
- Consider external dependencies sourcemaps for better debugging during development
24
24
- Chunking of external dependencies apart from application code. Share common dependencies between dynamic imports.
25
-
- Webpack loaders for importing JSX components, TypeScript, CSS, LESS, images, icons, fonts and SVGs
26
-
- Resolve URLs in JSX like in HTML for these elements: `img[src]`, `link[href]`, `Image[src]`, `video[src]`, `Video[src]`, `audio[src]`, `Audio[src]`
25
+
- Webpack loaders for importing JSX components, TypeScript, CSS, LESS, SASS, images, icons, fonts and SVGs
26
+
- Resolve URLs in JSX like in HTML for these elements: `img[src]`, `link[href]`, `Image[src]`, `video[src]`, `video[poster]`, `Video[src]`, `source[src]`, `audio[src]`, `Audio[src]`
27
27
- Webpack Dev Server during development on "localhost" and local network IP for external devices access
28
28
- Automatic creation of HTML pages, no templating of "index.html" necessary
29
29
- Hot Module Replacement enabled
@@ -33,7 +33,7 @@ This preset does all dirty job for setting up Webpack for you. It implements a s
33
33
-[MDX](https://mdxjs.com/) support
34
34
- Favicon injection
35
35
- Developer-friendly building progress bar
36
-
- Detect and warn about circular dependencies during the build time
36
+
- Detect and warn about circular and duplicated dependencies during the build time
37
37
- Git revision information through environment variables (VERSION, COMMITHASH, BRANCH)
38
38
- Environment variables are automatically exposed if used
39
39
- Bundle Analyzer for production and development builds
@@ -45,6 +45,8 @@ This preset does all dirty job for setting up Webpack for you. It implements a s
45
45
- Node.js v10+
46
46
- Neutrino v9
47
47
- Webpack v4
48
+
- Webpack Dev Server v3
49
+
- React v16, v17
48
50
49
51
## Installation
50
52
@@ -275,7 +277,7 @@ let TsChecker = require('fork-ts-checker-webpack-plugin');
275
277
module.exports= {
276
278
use: [
277
279
react(),
278
-
function (neutrino) {
280
+
functiontsCheckMiddleware(neutrino) {
279
281
let prodMode =process.env.NODE_ENV==='production';
280
282
281
283
if (prodMode) return;
@@ -304,8 +306,8 @@ Specifically for this plugin you also need to create `tsconfig.json` file
0 commit comments