File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,13 +69,13 @@ Your built files are in the /dist folder.
69
69
70
70
## Use NodeJS Native libraries
71
71
72
- Actually Angular-Cli doesn't seem to be able to import nodeJS native libs or electron libs at compilation time (Webpack error).
73
- If you need to use NodeJS some native libraries like 'fs' or 'os', you ** MUST** add it manually in the file ` webpack.config.js ` in root folder :
72
+ Actually Angular-Cli doesn't seem to be able to import nodeJS native libs or electron libs at compile time (Webpack error).
73
+ If you need to use NodeJS native libraries like 'fs' or 'os', you ** MUST** add it manually in the file ` webpack.config.js ` in root folder :
74
74
75
75
``` javascript
76
76
" externals" : {
77
77
" child_process" : ' require(\' child_process\' )' ,
78
78
" electron" : ' require(\' electron\' )' ,
79
79
" fs" : ' require(\' fs\' )'
80
80
},
81
- ```
81
+ ```
You can’t perform that action at this time.
0 commit comments