|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | "use strict";
|
|---|
| 2 | Object.defineProperty(exports, "__esModule", { value: true });
|
|---|
| 3 | const IssueConfiguration_1 = require("./issue/IssueConfiguration");
|
|---|
| 4 | const formatter_1 = require("./formatter");
|
|---|
| 5 | const TypeScriptReporterConfiguration_1 = require("./typescript-reporter/TypeScriptReporterConfiguration");
|
|---|
| 6 | const EsLintReporterConfiguration_1 = require("./eslint-reporter/EsLintReporterConfiguration");
|
|---|
| 7 | const LoggerConfiguration_1 = require("./logger/LoggerConfiguration");
|
|---|
| 8 | function createForkTsCheckerWebpackPluginConfiguration(compiler, options = {}) {
|
|---|
| 9 | return {
|
|---|
| 10 | async: options.async === undefined ? compiler.options.mode === 'development' : options.async,
|
|---|
| 11 | typescript: TypeScriptReporterConfiguration_1.createTypeScriptReporterConfiguration(compiler, options.typescript),
|
|---|
| 12 | eslint: EsLintReporterConfiguration_1.createEsLintReporterConfiguration(compiler, options.eslint),
|
|---|
| 13 | issue: IssueConfiguration_1.createIssueConfiguration(compiler, options.issue),
|
|---|
| 14 | formatter: formatter_1.createFormatterConfiguration(options.formatter),
|
|---|
| 15 | logger: LoggerConfiguration_1.createLoggerConfiguration(compiler, options.logger),
|
|---|
| 16 | };
|
|---|
| 17 | }
|
|---|
| 18 | exports.createForkTsCheckerWebpackPluginConfiguration = createForkTsCheckerWebpackPluginConfiguration;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.