@atlaspack/bundler-library 2.12.7-dev.69 → 2.12.7-dev.73

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaspack/bundler-library
2
2
 
3
+ ## 2.12.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @atlaspack/plugin@2.14.11
9
+
3
10
  ## 2.12.12
4
11
 
5
12
  ### Patch Changes
@@ -87,14 +87,8 @@ var _default = exports.default = new (_plugin().Bundler)({
87
87
  optimize() {}
88
88
  });
89
89
  function getBundleKey(asset, target) {
90
- var _target$loc2;
91
- if (process.env.ATLASPACK_SUPER_BUILD === 'true') {
92
- if (!asset.bundleBehavior && asset.filePath.includes('/node_modules/')) {
93
- var _target$loc;
94
- return `vendor.${asset.type}:${asset.env.id}:${((_target$loc = target.loc) === null || _target$loc === void 0 ? void 0 : _target$loc.filePath) ?? target.distDir}`;
95
- }
96
- }
90
+ var _target$loc;
97
91
  // Group by type and file path so CSS generated by macros is combined together by parent JS file.
98
92
  // Also group by environment/target to ensure bundles cannot be shared between packages.
99
- return `${asset.type}:${asset.filePath}:${asset.env.id}:${((_target$loc2 = target.loc) === null || _target$loc2 === void 0 ? void 0 : _target$loc2.filePath) ?? target.distDir}`;
93
+ return `${asset.type}:${asset.filePath}:${asset.env.id}:${((_target$loc = target.loc) === null || _target$loc === void 0 ? void 0 : _target$loc.filePath) ?? target.distDir}`;
100
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/bundler-library",
3
- "version": "2.12.7-dev.69+67cb517ae",
3
+ "version": "2.12.7-dev.73+84eec3484",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "type": "commonjs",
6
6
  "publishConfig": {
@@ -16,8 +16,8 @@
16
16
  "node": ">= 16.0.0"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/plugin": "2.14.5-dev.69+67cb517ae",
19
+ "@atlaspack/plugin": "2.14.5-dev.73+84eec3484",
20
20
  "nullthrows": "^1.1.1"
21
21
  },
22
- "gitHead": "67cb517ae793046fb5a0d2ef02ba74510fefccf3"
22
+ "gitHead": "84eec348413c647de4872f902c4bc8ff54c347f3"
23
23
  }
@@ -74,13 +74,6 @@ export default (new Bundler({
74
74
  }): Bundler);
75
75
 
76
76
  function getBundleKey(asset, target) {
77
- if (process.env.ATLASPACK_SUPER_BUILD === 'true') {
78
- if (!asset.bundleBehavior && asset.filePath.includes('/node_modules/')) {
79
- return `vendor.${asset.type}:${asset.env.id}:${
80
- target.loc?.filePath ?? target.distDir
81
- }`;
82
- }
83
- }
84
77
  // Group by type and file path so CSS generated by macros is combined together by parent JS file.
85
78
  // Also group by environment/target to ensure bundles cannot be shared between packages.
86
79
  return `${asset.type}:${asset.filePath}:${asset.env.id}:${