Last change
on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
470 bytes
|
Line | |
---|
1 | /*
|
---|
2 | MIT License http://www.opensource.org/licenses/mit-license.php
|
---|
3 | Author Tobias Koppers @sokra
|
---|
4 | */
|
---|
5 |
|
---|
6 | "use strict";
|
---|
7 |
|
---|
8 | const { applyWebpackOptionsDefaults } = require("./config/defaults");
|
---|
9 | const { getNormalizedWebpackOptions } = require("./config/normalization");
|
---|
10 |
|
---|
11 | class WebpackOptionsDefaulter {
|
---|
12 | process(options) {
|
---|
13 | options = getNormalizedWebpackOptions(options);
|
---|
14 | applyWebpackOptionsDefaults(options);
|
---|
15 | return options;
|
---|
16 | }
|
---|
17 | }
|
---|
18 |
|
---|
19 | module.exports = WebpackOptionsDefaulter;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.