Skip to content

Commit 80d553b

Browse files
holblinJean-Philippe Zolesio
and
Jean-Philippe Zolesio
authored
Release 4.0.1: Change the globalThis of UMD package to allow nodejs to use it. (#33)
Co-authored-by: Jean-Philippe Zolesio <[email protected]>
1 parent 8b8e8c6 commit 80d553b

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

History.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
4.0.1 / 2022-08-03
2+
==================
3+
4+
* Change globalThis configuration for webpack so UMD module could be used in nodejs (jest-dom)
5+
16
4.0.0 / 2022-06-09
27
==================
38

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adobe/css-tools",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "CSS parser / stringifier",
55
"main": "dist/umd/cssTools.js",
66
"module": "dist/cjs/cssTools.js",

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const umd = Object.assign({}, baseConfig, {
5050
libraryTarget: 'umd',
5151
path: path.resolve(__dirname, 'dist/umd'),
5252
clean: process.env.NODE_ENV === 'prod',
53+
globalObject: 'this',
5354
},
5455
});
5556

0 commit comments

Comments
 (0)