File tree Expand file tree Collapse file tree 2 files changed +30
-23
lines changed Expand file tree Collapse file tree 2 files changed +30
-23
lines changed Original file line number Diff line number Diff line change @@ -479,7 +479,7 @@ js: node-check fomantic $(JS_DEST)
479
479
480
480
$(JS_DEST ) : node_modules $(JS_SOURCES )
481
481
npx eslint web_src/js webpack.config.js
482
- npx webpack
482
+ npx webpack --hide-modules --display-entrypoints=false
483
483
484
484
.PHONY : fomantic
485
485
fomantic : node-check $(FOMANTIC_DEST_DIR )
Original file line number Diff line number Diff line change @@ -38,29 +38,31 @@ module.exports = {
38
38
{
39
39
test : / \. j s $ / ,
40
40
exclude : / n o d e _ m o d u l e s / ,
41
- use : {
42
- loader : 'babel-loader' ,
43
- options : {
44
- presets : [
45
- [
46
- '@babel/preset-env' ,
47
- {
48
- useBuiltIns : 'usage' ,
49
- corejs : 3 ,
50
- }
51
- ]
52
- ] ,
53
- plugins : [
54
- [
55
- '@babel/plugin-transform-runtime' ,
56
- {
57
- regenerator : true ,
58
- }
41
+ use : [
42
+ {
43
+ loader : 'babel-loader' ,
44
+ options : {
45
+ presets : [
46
+ [
47
+ '@babel/preset-env' ,
48
+ {
49
+ useBuiltIns : 'usage' ,
50
+ corejs : 3 ,
51
+ }
52
+ ]
59
53
] ,
60
- '@babel/plugin-proposal-object-rest-spread' ,
61
- ] ,
62
- }
63
- }
54
+ plugins : [
55
+ [
56
+ '@babel/plugin-transform-runtime' ,
57
+ {
58
+ regenerator : true ,
59
+ }
60
+ ] ,
61
+ '@babel/plugin-proposal-object-rest-spread' ,
62
+ ] ,
63
+ }
64
+ } ,
65
+ ] ,
64
66
} ,
65
67
{
66
68
test : / \. c s s $ / i,
@@ -73,6 +75,8 @@ module.exports = {
73
75
new SourceMapDevToolPlugin ( {
74
76
filename : '[name].js.map' ,
75
77
exclude : [
78
+ 'gitgraph.js' ,
79
+ 'jquery.js' ,
76
80
'swagger.js' ,
77
81
] ,
78
82
} ) ,
@@ -84,4 +88,7 @@ module.exports = {
84
88
return ! filename . endsWith ( '.map' ) && filename !== 'swagger.js' ;
85
89
}
86
90
} ,
91
+ resolve : {
92
+ symlinks : false ,
93
+ }
87
94
} ;
You can’t perform that action at this time.
0 commit comments