OptionsApply.js 720 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. /**
  7. * @import {
  8. * WebpackOptionsNormalizedWithDefaults as WebpackOptions
  9. * } from "./config/defaults"
  10. */
  11. /** @import { WebpackOptionsInterception } from "./config/normalization" */
  12. /** @import Compiler from "./Compiler" */
  13. class OptionsApply {
  14. /**
  15. * Returns options object.
  16. * @param {WebpackOptions} options options object
  17. * @param {Compiler} compiler compiler object
  18. * @param {WebpackOptionsInterception=} interception intercepted options
  19. * @returns {WebpackOptions} options object
  20. */
  21. process(options, compiler, interception) {
  22. return options;
  23. }
  24. }
  25. module.exports = OptionsApply;