sku 12.3.1 → 12.3.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
  # sku
2
2
 
3
+ ## 12.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixes a bug where `.cjs` and `.mjs` files where not being transformed by babel in jest tests ([#868](https://github.com/seek-oss/sku/pull/868))
8
+
3
9
  ## 12.3.1
4
10
 
5
11
  ### Patch Changes
@@ -31,7 +31,7 @@ module.exports = jestDecorator({
31
31
  '\\.less$': require.resolve('./cssModulesTransform.js'),
32
32
  '\\.css\\.ts$': require.resolve('@vanilla-extract/jest-transform'),
33
33
  '\\.tsx?$': require.resolve('./tsBabelTransform.js'),
34
- '\\.js$': require.resolve('./jsBabelTransform.js'),
34
+ '\\.[cm]?js$': require.resolve('./jsBabelTransform.js'),
35
35
  },
36
36
  transformIgnorePatterns: [
37
37
  // Allow 'compilePackages' code to be transformed in tests by overriding
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sku",
3
- "version": "12.3.1",
3
+ "version": "12.3.2",
4
4
  "description": "Front-end development toolkit, powered by Webpack, Babel, CSS Modules, Less and Jest",
5
5
  "main": "index.js",
6
6
  "bin": {