Skip to content

Commit 3ba6682

Browse files
authored
Add JSDoc for VirtualModulesPlugin constructor (#123)
Clarify that the compiler is the webpack compiler and not the svelte compiler
1 parent 2773097 commit 3ba6682

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/virtual.js

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ var inode = 45000000;
55
// Adapted from https://github.com/sysgears/webpack-virtual-modules
66
// MIT Licensed https://github.com/sysgears/webpack-virtual-modules/blob/master/LICENSE
77

8+
/**
9+
* @param {Compiler} compiler - the webpack compiler
10+
*/
811
function VirtualModulesPlugin(compiler) {
912
this.compiler = compiler;
1013

0 commit comments

Comments
 (0)