@atlaspack/core 2.12.1-canary.3385 → 2.12.1-canary.3387

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/Atlaspack.js CHANGED
@@ -177,7 +177,17 @@ class Atlaspack {
177
177
  ...options,
178
178
  corePath: _path().default.join(__dirname, '..'),
179
179
  entries: Array.isArray(entries) ? entries : entries == null ? undefined : [entries],
180
- fs: inputFS && (0, _atlaspackV.toFileSystemV3)(inputFS)
180
+ fs: inputFS && (0, _atlaspackV.toFileSystemV3)(inputFS),
181
+ defaultTargetOptions: {
182
+ // $FlowFixMe projectPath is just a string
183
+ distDir: resolvedOptions.defaultTargetOptions.distDir,
184
+ engines: resolvedOptions.defaultTargetOptions.engines,
185
+ isLibrary: resolvedOptions.defaultTargetOptions.isLibrary,
186
+ outputFormat: resolvedOptions.defaultTargetOptions.outputFormat,
187
+ sourceMaps: resolvedOptions.defaultTargetOptions.sourceMaps,
188
+ shouldOptimize: resolvedOptions.defaultTargetOptions.shouldOptimize,
189
+ shouldScopeHoist: resolvedOptions.defaultTargetOptions.shouldScopeHoist
190
+ }
181
191
  });
182
192
  }
183
193
  let {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/core",
3
- "version": "2.12.1-canary.3385+7f4c383d6",
3
+ "version": "2.12.1-canary.3387+0a600cb70",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -20,20 +20,20 @@
20
20
  "check-ts": "tsc --noEmit index.d.ts"
21
21
  },
22
22
  "dependencies": {
23
- "@atlaspack/cache": "2.12.1-canary.3385+7f4c383d6",
24
- "@atlaspack/diagnostic": "2.12.1-canary.3385+7f4c383d6",
25
- "@atlaspack/events": "2.12.1-canary.3385+7f4c383d6",
26
- "@atlaspack/feature-flags": "2.12.1-canary.3385+7f4c383d6",
27
- "@atlaspack/fs": "2.12.1-canary.3385+7f4c383d6",
28
- "@atlaspack/graph": "3.2.1-canary.3385+7f4c383d6",
29
- "@atlaspack/logger": "2.12.1-canary.3385+7f4c383d6",
30
- "@atlaspack/package-manager": "2.12.1-canary.3385+7f4c383d6",
31
- "@atlaspack/plugin": "2.12.1-canary.3385+7f4c383d6",
32
- "@atlaspack/profiler": "2.12.1-canary.3385+7f4c383d6",
33
- "@atlaspack/rust": "2.12.1-canary.3385+7f4c383d6",
34
- "@atlaspack/types": "2.12.1-canary.3385+7f4c383d6",
35
- "@atlaspack/utils": "2.12.1-canary.3385+7f4c383d6",
36
- "@atlaspack/workers": "2.12.1-canary.3385+7f4c383d6",
23
+ "@atlaspack/cache": "2.12.1-canary.3387+0a600cb70",
24
+ "@atlaspack/diagnostic": "2.12.1-canary.3387+0a600cb70",
25
+ "@atlaspack/events": "2.12.1-canary.3387+0a600cb70",
26
+ "@atlaspack/feature-flags": "2.12.1-canary.3387+0a600cb70",
27
+ "@atlaspack/fs": "2.12.1-canary.3387+0a600cb70",
28
+ "@atlaspack/graph": "3.2.1-canary.3387+0a600cb70",
29
+ "@atlaspack/logger": "2.12.1-canary.3387+0a600cb70",
30
+ "@atlaspack/package-manager": "2.12.1-canary.3387+0a600cb70",
31
+ "@atlaspack/plugin": "2.12.1-canary.3387+0a600cb70",
32
+ "@atlaspack/profiler": "2.12.1-canary.3387+0a600cb70",
33
+ "@atlaspack/rust": "2.12.1-canary.3387+0a600cb70",
34
+ "@atlaspack/types": "2.12.1-canary.3387+0a600cb70",
35
+ "@atlaspack/utils": "2.12.1-canary.3387+0a600cb70",
36
+ "@atlaspack/workers": "2.12.1-canary.3387+0a600cb70",
37
37
  "@mischnic/json-sourcemap": "^0.1.0",
38
38
  "@parcel/source-map": "^2.1.1",
39
39
  "base-x": "^3.0.8",
@@ -55,5 +55,5 @@
55
55
  "browser": {
56
56
  "./src/serializerCore.js": "./src/serializerCore.browser.js"
57
57
  },
58
- "gitHead": "7f4c383d65fb4d4b06e0b75a854ec7df0e99efad"
58
+ "gitHead": "0a600cb7070becc8626f8a1dc5ef4861174da6b3"
59
59
  }
package/src/Atlaspack.js CHANGED
@@ -136,6 +136,17 @@ export default class Atlaspack {
136
136
  ? undefined
137
137
  : [entries],
138
138
  fs: inputFS && toFileSystemV3(inputFS),
139
+ defaultTargetOptions: {
140
+ // $FlowFixMe projectPath is just a string
141
+ distDir: resolvedOptions.defaultTargetOptions.distDir,
142
+ engines: resolvedOptions.defaultTargetOptions.engines,
143
+ isLibrary: resolvedOptions.defaultTargetOptions.isLibrary,
144
+ outputFormat: resolvedOptions.defaultTargetOptions.outputFormat,
145
+ sourceMaps: resolvedOptions.defaultTargetOptions.sourceMaps,
146
+ shouldOptimize: resolvedOptions.defaultTargetOptions.shouldOptimize,
147
+ shouldScopeHoist:
148
+ resolvedOptions.defaultTargetOptions.shouldScopeHoist,
149
+ },
139
150
  });
140
151
  }
141
152