Skip to content

Commit 8ce3762

Browse files
committed
Merge branch 'release/6.2.1'
2 parents 31658b5 + ca6519d commit 8ce3762

File tree

11 files changed

+22
-19
lines changed

11 files changed

+22
-19
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
## [v6.2.1](https://github.com/studiometa/webpack-config/compare/6.2.0..6.2.1) (2024-11-08)
10+
11+
### Fixed
12+
13+
- Fix CJS files being incorrectly transformed to ESM ([#172](https://github.com/studiometa/webpack-config/pull/172), [e4cccc2](https://github.com/studiometa/webpack-config/commit/e4cccc2))
14+
915
## [v6.2.0](https://github.com/studiometa/webpack-config/compare/6.1.0..6.2.0) (2024-10-03)
1016

1117
### Added

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "studiometa/webpack-config",
3-
"version": "6.2.0",
3+
"version": "6.2.1",
44
"description": "PHP Helpers for @studiometa/webpack-config",
55
"type": "library",
66
"require": {

package-lock.json

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@studiometa/webpack-config-root",
3-
"version": "6.2.0",
3+
"version": "6.2.1",
44
"private": true,
55
"type": "module",
66
"workspaces": [

packages/demo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@studiometa/webpack-config-demo",
3-
"version": "6.2.0",
3+
"version": "6.2.1",
44
"private": true,
55
"type": "module",
66
"scripts": {

packages/preset-markdown/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@studiometa/webpack-config-preset-markdown",
3-
"version": "6.2.0",
3+
"version": "6.2.1",
44
"publishConfig": {
55
"access": "public"
66
},

packages/preset-prototyping/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@studiometa/webpack-config-preset-prototyping",
3-
"version": "6.2.0",
3+
"version": "6.2.1",
44
"publishConfig": {
55
"access": "public"
66
},

packages/preset-vue-2/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@studiometa/webpack-config-preset-vue-2",
3-
"version": "6.2.0",
3+
"version": "6.2.1",
44
"publishConfig": {
55
"access": "public"
66
},

packages/preset-vue-3/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@studiometa/webpack-config-preset-vue-3",
3-
"version": "6.2.0",
3+
"version": "6.2.1",
44
"publishConfig": {
55
"access": "public"
66
},

packages/webpack-config/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@studiometa/webpack-config",
3-
"version": "6.2.0",
3+
"version": "6.2.1",
44
"description": "A basic webpack config",
55
"type": "module",
66
"main": "src/index.js",

packages/webpack-config/src/webpack.base.config.js

-3
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,12 @@ export default async function getWebpackBaseConfig(config, { mode = 'production'
8787
},
8888
{
8989
test: /\.m?(j|t)s$/,
90-
// Exclude all but packages from the `@studiometa/` namespace
91-
exclude: [/node_modules[\\/](?!@studiometa[\\/]).*/],
9290
type: 'javascript/auto',
9391
use: {
9492
loader: 'esbuild-loader',
9593
options: {
9694
loader: 'ts',
9795
target: isDev ? 'es2022' : 'es2020',
98-
format: 'esm',
9996
},
10097
},
10198
},

0 commit comments

Comments
 (0)