Skip to content

Commit

Permalink
Enabled constructor again
Browse files Browse the repository at this point in the history
Signed-off-by: Jaid <jaid.jsx@gmail.com>
  • Loading branch information
Jaid committed Jun 19, 2021
1 parent 2717234 commit f259c56
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ import debug from "lib/debug"
*/
export default class InjectBrowserSyncPlugin {

// /**
// * @constructor
// * @param {Options} [options] Plugin options
// */
// constructor(options) {
// this.options = {
// content: "<div id=\"root\"></div>",
// position: "start",
// ...options,
// }
// }
/**
* @constructor
* @param {Options} [options] Plugin options
*/
constructor(options) {
this.options = {
content: "<div id=\"root\"></div>",
position: "start",
...options,
}
}

/**
* @param {import("webpack").Compiler} compiler
Expand Down

0 comments on commit f259c56

Please sign in to comment.