@@ -15,40 +15,40 @@ const config = {
1515 mode : 'production' ,
1616 target : 'node' ,
1717 entry : {
18- extension : './src/client/extension.ts'
18+ extension : './src/client/extension.ts' ,
1919 } ,
2020 devtool : 'source-map' ,
2121 node : {
22- __dirname : false
22+ __dirname : false ,
2323 } ,
2424 module : {
2525 rules : [
2626 {
2727 test : / \. t s $ / ,
2828 use : [
2929 {
30- loader : path . join ( __dirname , 'loaders' , 'externalizeDependencies.js' )
31- }
32- ]
30+ loader : path . join ( __dirname , 'loaders' , 'externalizeDependencies.js' ) ,
31+ } ,
32+ ] ,
3333 } ,
3434 {
3535 test : / \. t s $ / ,
3636 exclude : / n o d e _ m o d u l e s / ,
3737 use : [
3838 {
39- loader : 'ts-loader'
40- }
41- ]
39+ loader : 'ts-loader' ,
40+ } ,
41+ ] ,
4242 } ,
4343 {
4444 test : / \. n o d e $ / ,
4545 use : [
4646 {
47- loader : 'node-loader'
48- }
49- ]
50- }
51- ]
47+ loader : 'node-loader' ,
48+ } ,
49+ ] ,
50+ } ,
51+ ] ,
5252 } ,
5353 externals : [ 'vscode' , 'commonjs' , ...existingModulesInOutDir ] ,
5454 plugins : [ ...common . getDefaultPlugins ( 'extension' ) ] ,
@@ -57,17 +57,17 @@ const config = {
5757 // Pointing pdfkit to a dummy js file so webpack doesn't fall over.
5858 // Since pdfkit has been externalized (it gets updated with the valid code by copying the pdfkit files
5959 // into the right destination).
60- pdfkit : path . resolve ( __dirname , 'pdfkit.js' )
60+ pdfkit : path . resolve ( __dirname , 'pdfkit.js' ) ,
6161 } ,
6262 extensions : [ '.ts' , '.js' ] ,
63- plugins : [ new tsconfig_paths_webpack_plugin . TsconfigPathsPlugin ( { configFile : configFileName } ) ]
63+ plugins : [ new tsconfig_paths_webpack_plugin . TsconfigPathsPlugin ( { configFile : configFileName } ) ] ,
6464 } ,
6565 output : {
6666 filename : '[name].js' ,
6767 path : path . resolve ( constants . ExtensionRootDir , 'out' , 'client' ) ,
6868 libraryTarget : 'commonjs2' ,
69- devtoolModuleFilenameTemplate : '../../[resource-path]'
70- }
69+ devtoolModuleFilenameTemplate : '../../[resource-path]' ,
70+ } ,
7171} ;
7272// tslint:disable-next-line:no-default-export
7373exports . default = config ;
0 commit comments