File tree 3 files changed +24
-3
lines changed
3 files changed +24
-3
lines changed Original file line number Diff line number Diff line change
1
+ const path = require ( 'path' ) ;
2
+
1
3
module . exports = {
2
4
title : 'JSON Forms' ,
3
5
tagline : 'More forms. Less code.' ,
@@ -122,6 +124,7 @@ module.exports = {
122
124
] ,
123
125
] ,
124
126
plugins : [
127
+ path . resolve ( __dirname , './src/custom-webpack' ) ,
125
128
'docusaurus-plugin-sass' ,
126
129
'docusaurus2-dotenv' ,
127
130
[
Original file line number Diff line number Diff line change 15
15
"clear" : " docusaurus clear"
16
16
},
17
17
"dependencies" : {
18
- "@docusaurus/core" : " ^ 2.0.0-alpha.73" ,
19
- "@docusaurus/plugin-client-redirects" : " ^ 2.0.0-alpha.73" ,
20
- "@docusaurus/preset-classic" : " ^ 2.0.0-alpha.73" ,
18
+ "@docusaurus/core" : " 2.0.0-alpha.73" ,
19
+ "@docusaurus/plugin-client-redirects" : " 2.0.0-alpha.73" ,
20
+ "@docusaurus/preset-classic" : " 2.0.0-alpha.73" ,
21
21
"@easyops-cn/docusaurus-search-local" : " ^0.16.1" ,
22
22
"@jsonforms/core" : " ^2.5.0" ,
23
23
"@jsonforms/examples" : " ^2.5.0" ,
Original file line number Diff line number Diff line change
1
+ module . exports = function ( ) {
2
+ return {
3
+ name : 'custom-webpack' ,
4
+ configureWebpack ( ) {
5
+ return {
6
+ optimization : {
7
+ splitChunks : {
8
+ cacheGroups : {
9
+ common : {
10
+ minChunks : 5 ,
11
+ } ,
12
+ } ,
13
+ } ,
14
+ } ,
15
+ } ;
16
+ } ,
17
+ } ;
18
+ } ;
You can’t perform that action at this time.
0 commit comments