apply()

in packages/kotlin-webpack-plugin/plugin.js [62:70]


  apply(compiler) {
    compiler.hooks.beforeCompile.tapAsync(pluginName, this.compileIfFirstRun);
    compiler.hooks.compilation.tap(
      pluginName,
      this.reportFirstCompilationError
    );
    compiler.hooks.make.tapAsync(pluginName, this.compileIfKotlinFilesChanged);
    compiler.hooks.emit.tapAsync(pluginName, this.watchKotlinSources);
  }