Skip to content

Commit

Permalink
Merge branch 'release/6.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
titouanmathis committed Nov 8, 2024
2 parents 31658b5 + ca6519d commit 8ce3762
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 19 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [v6.2.1](https://github.com/studiometa/webpack-config/compare/6.2.0..6.2.1) (2024-11-08)

### Fixed

- 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))

## [v6.2.0](https://github.com/studiometa/webpack-config/compare/6.1.0..6.2.0) (2024-10-03)

### Added
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "studiometa/webpack-config",
"version": "6.2.0",
"version": "6.2.1",
"description": "PHP Helpers for @studiometa/webpack-config",
"type": "library",
"require": {
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@studiometa/webpack-config-root",
"version": "6.2.0",
"version": "6.2.1",
"private": true,
"type": "module",
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@studiometa/webpack-config-demo",
"version": "6.2.0",
"version": "6.2.1",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-markdown/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@studiometa/webpack-config-preset-markdown",
"version": "6.2.0",
"version": "6.2.1",
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-prototyping/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@studiometa/webpack-config-preset-prototyping",
"version": "6.2.0",
"version": "6.2.1",
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-vue-2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@studiometa/webpack-config-preset-vue-2",
"version": "6.2.0",
"version": "6.2.1",
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/preset-vue-3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@studiometa/webpack-config-preset-vue-3",
"version": "6.2.0",
"version": "6.2.1",
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/webpack-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@studiometa/webpack-config",
"version": "6.2.0",
"version": "6.2.1",
"description": "A basic webpack config",
"type": "module",
"main": "src/index.js",
Expand Down
3 changes: 0 additions & 3 deletions packages/webpack-config/src/webpack.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,12 @@ export default async function getWebpackBaseConfig(config, { mode = 'production'
},
{
test: /\.m?(j|t)s$/,
// Exclude all but packages from the `@studiometa/` namespace
exclude: [/node_modules[\\/](?!@studiometa[\\/]).*/],
type: 'javascript/auto',
use: {
loader: 'esbuild-loader',
options: {
loader: 'ts',
target: isDev ? 'es2022' : 'es2020',
format: 'esm',
},
},
},
Expand Down

0 comments on commit 8ce3762

Please sign in to comment.