@adobe/helix-deploy 11.0.1 → 11.0.2
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 +7 -0
- package/package.json +1 -1
- package/src/bundler/WebpackBundler.js +10 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [11.0.2](https://github.com/adobe/helix-deploy/compare/v11.0.1...v11.0.2) (2024-02-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove condition names ([#662](https://github.com/adobe/helix-deploy/issues/662)) ([f5a7b30](https://github.com/adobe/helix-deploy/commit/f5a7b302fb60f3bde9b4274d663e1d968b469099))
|
|
7
|
+
|
|
1
8
|
## [11.0.1](https://github.com/adobe/helix-deploy/compare/v11.0.0...v11.0.1) (2024-02-03)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@ export default class WebpackBundler extends BaseBundler {
|
|
|
33
33
|
const { cfg } = this;
|
|
34
34
|
const opts = {
|
|
35
35
|
target: 'node',
|
|
36
|
-
mode: '
|
|
36
|
+
mode: 'production',
|
|
37
37
|
// the universal adapter is the entry point
|
|
38
38
|
entry: cfg.adapterFile || path.resolve(__dirname, '..', 'template', 'node-index.js'),
|
|
39
39
|
context: cfg.cwd,
|
|
@@ -79,9 +79,15 @@ export default class WebpackBundler extends BaseBundler {
|
|
|
79
79
|
// the main.js is imported in the universal adapter and is _the_ action entry point
|
|
80
80
|
'./main.js': cfg.file,
|
|
81
81
|
},
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
},
|
|
83
|
+
optimization: {
|
|
84
|
+
// we enable production mode in order to get the correct imports (eg micromark has special
|
|
85
|
+
// export condition for 'development'). but we disable minimize and keep named modules
|
|
86
|
+
// in order to easier match log errors to the bundle
|
|
87
|
+
minimize: false,
|
|
88
|
+
concatenateModules: false,
|
|
89
|
+
mangleExports: false,
|
|
90
|
+
moduleIds: 'named',
|
|
85
91
|
},
|
|
86
92
|
node: {
|
|
87
93
|
__dirname: true,
|