File tree Expand file tree Collapse file tree 4 files changed +31
-1
lines changed Expand file tree Collapse file tree 4 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,7 @@ node_modules/*
5
5
build /
6
6
package-lock.json
7
7
bench /* .svg
8
+ bench /dist /
9
+ bench /node_modules
8
10
.nyc_output /
9
11
coverage /
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ <h1>Benchmark <code>mozilla/source-map</code></h1>
70
70
< script src ="angular-min-source-map.js "> </ script >
71
71
< script src ="scalajs-runtime-sourcemap.js "> </ script >
72
72
< script src ="stats.js "> </ script >
73
- < script src ="../ dist/source-map.js "> </ script >
73
+ < script src ="dist/source-map.js "> </ script >
74
74
< script src ="bench.js "> </ script >
75
75
< script src ="bench-dom-bindings.js "> </ script >
76
76
</ body >
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " source-map-internal-benchmark" ,
3
+ "private" : true ,
4
+ "scripts" : {
5
+ "build" : " webpack"
6
+ },
7
+ "dependencies" : {
8
+ "webpack" : " ^4.9.1" ,
9
+ "webpack-cli" : " ^3.1"
10
+ }
11
+ }
Original file line number Diff line number Diff line change
1
+ const path = require ( "path" ) ;
2
+ const distDir = path . join ( __dirname , "dist" ) ;
3
+
4
+ module . exports = {
5
+ context : path . join ( __dirname , ".." ) ,
6
+ entry : "./source-map.js" ,
7
+ mode : "production" ,
8
+ optimization : {
9
+ minimize : false ,
10
+ } ,
11
+ output : {
12
+ path : distDir ,
13
+ filename : "source-map.js" ,
14
+ library : "sourceMap" ,
15
+ libraryTarget : "umd" ,
16
+ } ,
17
+ } ;
You can’t perform that action at this time.
0 commit comments