WebEnvironmentPlugin.js 401 B

123456789101112131415161718
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. class WebEnvironmentPlugin {
  7. constructor(inputFileSystem, outputFileSystem) {
  8. this.inputFileSystem = inputFileSystem;
  9. this.outputFileSystem = outputFileSystem;
  10. }
  11. apply(compiler) {
  12. compiler.outputFileSystem = this.outputFileSystem;
  13. }
  14. }
  15. module.exports = WebEnvironmentPlugin;