File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
test/configCases/plugins/source-map-dev-tool-plugin Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11it ( "should contain publicPath prefix in [url] and resolve relatively to fileContext" , function ( ) {
22 var fs = require ( "fs" ) ,
33 path = require ( "path" ) ;
4- var source = fs . readFileSync ( path . join ( __dirname , "dist/ public/test.js" ) , "utf-8" ) ;
4+ var source = fs . readFileSync ( path . join ( __dirname , "public/test.js" ) , "utf-8" ) ;
55 source . should . containEql ( "//# sourceMappingURL=https://10.10.10.10/project/sourcemaps/test.js.map" ) ;
66} ) ;
77
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ module.exports = {
66 } ,
77 entry : {
88 "bundle0" : [ "./index.js" ] ,
9- "dist/ public/test" : [ "./test.js" ] ,
9+ "public/test" : [ "./test.js" ] ,
1010 } ,
1111 output : {
1212 filename : "[name].js"
@@ -15,7 +15,7 @@ module.exports = {
1515 new webpack . SourceMapDevToolPlugin ( {
1616 filename : "sourcemaps/[file].map" ,
1717 publicPath : "https://10.10.10.10/project/" ,
18- fileContext : "dist/ public"
18+ fileContext : "public"
1919 } )
2020 ]
2121} ;
You can’t perform that action at this time.
0 commit comments