Skip to content

Commit

Permalink
Add JSDoc for VirtualModulesPlugin constructor (#123)
Browse files Browse the repository at this point in the history
Clarify that the compiler is the webpack compiler and not the svelte compiler
  • Loading branch information
benmccann authored Sep 4, 2020
1 parent 2773097 commit 3ba6682
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/virtual.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ var inode = 45000000;
// Adapted from https://github.com/sysgears/webpack-virtual-modules
// MIT Licensed https://github.com/sysgears/webpack-virtual-modules/blob/master/LICENSE

/**
* @param {Compiler} compiler - the webpack compiler
*/
function VirtualModulesPlugin(compiler) {
this.compiler = compiler;

Expand Down

0 comments on commit 3ba6682

Please sign in to comment.