(options)
| 103 | */ |
| 104 | module.exports = class DefaultPackager { |
| 105 | constructor(options) { |
| 106 | this._cachedTests = null; |
| 107 | this._cachedVendor = null; |
| 108 | this._cachedPublic = null; |
| 109 | this._cachedConfig = null; |
| 110 | this._cachedJavascript = null; |
| 111 | this._cachedProcessedIndex = null; |
| 112 | this._cachedTransformedTree = null; |
| 113 | this._cachedProcessedStyles = null; |
| 114 | this._cachedProcessedTemplates = null; |
| 115 | this._cachedProcessedJavascript = null; |
| 116 | this._cachedEmberCliInternalTree = null; |
| 117 | this._cachedProcessedAdditionalAssets = null; |
| 118 | this._cachedProcessedAppAndDependencies = null; |
| 119 | |
| 120 | this.options = options || {}; |
| 121 | |
| 122 | this._debugTree = BroccoliDebug.buildDebugCallback('default-packager'); |
| 123 | |
| 124 | this.env = this.options.env; |
| 125 | this.name = this.options.name; |
| 126 | this.autoRun = this.options.autoRun; |
| 127 | this.project = this.options.project; |
| 128 | this.registry = this.options.registry; |
| 129 | this.sourcemaps = this.options.sourcemaps; |
| 130 | this.minifyCSS = this.options.minifyCSS; |
| 131 | this.distPaths = this.options.distPaths; |
| 132 | this.areTestsEnabled = this.options.areTestsEnabled; |
| 133 | this.styleOutputFiles = this.options.styleOutputFiles; |
| 134 | this.scriptOutputFiles = this.options.scriptOutputFiles; |
| 135 | this.storeConfigInMeta = this.options.storeConfigInMeta; |
| 136 | this.customTransformsMap = this.options.customTransformsMap; |
| 137 | this.additionalAssetPaths = this.options.additionalAssetPaths; |
| 138 | this.vendorTestStaticStyles = this.options.vendorTestStaticStyles; |
| 139 | this.legacyTestFilesToAppend = this.options.legacyTestFilesToAppend; |
| 140 | } |
| 141 | |
| 142 | /* |
| 143 | * Replaces variables in `index.html` file with values from |
nothing calls this directly
no outgoing calls
no test coverage detected