apostrophe 3.39.1 → 3.39.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.39.2 (2023-02-03)
4
+
5
+ ### Fixes
6
+
7
+ * Hotfix for a backwards compatibility break in webpack that triggered a tiptap bug. The admin UI build will now succeed as expected.
8
+
3
9
  ## 3.39.1 (2023-02-02)
4
10
 
5
11
  ### Fixes
@@ -2,6 +2,7 @@ const path = require('path');
2
2
  const merge = require('webpack-merge').merge;
3
3
  const scss = require('./webpack.scss');
4
4
  const vue = require('./webpack.vue');
5
+ const js = require('./webpack.js');
5
6
 
6
7
  let BundleAnalyzerPlugin;
7
8
 
@@ -12,7 +13,7 @@ if (process.env.APOS_BUNDLE_ANALYZER) {
12
13
  module.exports = ({
13
14
  importFile, modulesDir, outputPath, outputFilename
14
15
  }, apos) => {
15
- const tasks = [ scss, vue ].map(task =>
16
+ const tasks = [ scss, vue, js ].map(task =>
16
17
  task(
17
18
  {
18
19
  importFile,
@@ -0,0 +1,21 @@
1
+ module.exports = (options, apos) => {
2
+ return {
3
+ module: {
4
+ rules: [
5
+ {
6
+ test: /\.(m)?js$/i,
7
+ resolve: {
8
+ byDependency: {
9
+ esm: {
10
+ // Be tolerant of imports like lodash/debounce that
11
+ // should really be lodash/debounce.js, as dependencies
12
+ // like tiptap are not fully on board with that rule yet
13
+ fullySpecified: false
14
+ }
15
+ }
16
+ }
17
+ }
18
+ ]
19
+ }
20
+ };
21
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apostrophe",
3
- "version": "3.39.1",
3
+ "version": "3.39.2",
4
4
  "description": "The Apostrophe Content Management System.",
5
5
  "main": "index.js",
6
6
  "scripts": {