Skip to content

Fix/#316

Fix/#316 #297

Triggered via pull request July 11, 2024 13:18
@sonofmagicsonofmagic
synchronize #317
fix/#316
Status Failure
Total duration 2m 48s
Artifacts

test.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

30 errors
test/webpack.v5.test.ts > webpack5 plugin > common: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L175
Error: Snapshot `webpack5 plugin > common > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:175:41
test/webpack.v5.test.ts > webpack5 plugin > common with rem2rpx: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L225
Error: Snapshot `webpack5 plugin > common with rem2rpx > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:225:41
test/webpack.v5.test.ts > webpack5 plugin > common build twice for cache: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L249
Error: Snapshot `webpack5 plugin > common build twice for cache > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:249:41
test/webpack.v5.test.ts > webpack5 plugin > common 0: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L304
Error: Snapshot `webpack5 plugin > common 0 > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:304:41
test/webpack.v5.test.ts > webpack5 plugin > common with loader: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L327
Error: Snapshot `webpack5 plugin > common with loader > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_100px_ h-_100px_ \' + \"bg-_url_qhttpscssxxxdcomsxxdwebpq__\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_99px_\', `h-_99px_`, \"bg-_url_qhttpscssyyydcomsxxdwebpq__\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_100px_ h-_100px_ \' + \"bg-_url_qhttpscssxxxdcomsxxdwebpq__\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_99px_\', `h-_99px_`, \"bg-_url_qhttpscssyyydcomsxxdwebpq__\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:327:41
test/webpack.v5.test.ts > webpack5 plugin > unified common: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L373
Error: Snapshot `webpack5 plugin > unified common > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_100px_ h-_100px_ \' + \"bg-_url_qhttpscssxxxdcomsxxdwebpq__\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_99px_\', `h-_99px_`, \"bg-_url_qhttpscssyyydcomsxxdwebpq__\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_100px_ h-_100px_ \' + \"bg-_url_qhttpscssxxxdcomsxxdwebpq__\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_99px_\', `h-_99px_`, \"bg-_url_qhttpscssyyydcomsxxdwebpq__\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:373:41
test/webpack.v5.test.ts > webpack5 plugin > disabled true: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L445
Error: Snapshot `webpack5 plugin > disabled true > assets 1` mismatched - Expected + Received @@ -360,11 +360,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import './index.wxml'\n// import './index.css'\n\nconst className = 'w-[100px] h-[100px] ' + \"bg-[url('https://xxx.com/xx.webp')]\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add('w-[99px]', `h-[99px]`, \"bg-[url('https://yyy.com/xx.webp')]\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import './index.wxml'\r\n// import './index.css'\r\n\r\nconst className = 'w-[100px] h-[100px] ' + \"bg-[url('https://xxx.com/xx.webp')]\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add('w-[99px]', `h-[99px]`, \"bg-[url('https://yyy.com/xx.webp')]\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:445:41
test/webpack.v5.test.ts > webpack5 plugin > mangle true: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L475
Error: Snapshot `webpack5 plugin > mangle true > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'tw-q tw-p \' + \"tw-ya\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'tw-za\', `tw-ab`, \"tw-bb\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'tw-q tw-p \' + \"tw-ya\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'tw-za\', `tw-ab`, \"tw-bb\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:475:41
test/webpack.v5.test.ts > webpack5 plugin > mangle options: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L508
Error: Snapshot `webpack5 plugin > mangle options > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'q p \' + \"ya\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'za\', `ab`, \"bb\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'q p \' + \"ya\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'za\', `ab`, \"bb\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:508:41
test/webpack.v5.test.ts > webpack5 plugin > mangle options with default mangleClassFilter: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L530
Error: Snapshot `webpack5 plugin > mangle options with default mangleClassFilter > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'ice-q ice-p \' + \"ice-ya\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'ice-za\', `ice-ab`, \"ice-bb\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'ice-q ice-p \' + \"ice-ya\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'ice-za\', `ice-ab`, \"ice-bb\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:530:41
test/webpack.v5.test.ts > webpack5 plugin > common: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L175
Error: Snapshot `webpack5 plugin > common > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:175:41
test/webpack.v5.test.ts > webpack5 plugin > common with rem2rpx: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L225
Error: Snapshot `webpack5 plugin > common with rem2rpx > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:225:41
test/webpack.v5.test.ts > webpack5 plugin > common build twice for cache: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L249
Error: Snapshot `webpack5 plugin > common build twice for cache > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:249:41
test/webpack.v5.test.ts > webpack5 plugin > common 0: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L304
Error: Snapshot `webpack5 plugin > common 0 > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:304:41
test/webpack.v5.test.ts > webpack5 plugin > common with loader: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L327
Error: Snapshot `webpack5 plugin > common with loader > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_100px_ h-_100px_ \' + \"bg-_url_qhttpscssxxxdcomsxxdwebpq__\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_99px_\', `h-_99px_`, \"bg-_url_qhttpscssyyydcomsxxdwebpq__\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_100px_ h-_100px_ \' + \"bg-_url_qhttpscssxxxdcomsxxdwebpq__\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_99px_\', `h-_99px_`, \"bg-_url_qhttpscssyyydcomsxxdwebpq__\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:327:41
test/webpack.v5.test.ts > webpack5 plugin > unified common: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L373
Error: Snapshot `webpack5 plugin > unified common > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_100px_ h-_100px_ \' + \"bg-_url_qhttpscssxxxdcomsxxdwebpq__\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_99px_\', `h-_99px_`, \"bg-_url_qhttpscssyyydcomsxxdwebpq__\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_100px_ h-_100px_ \' + \"bg-_url_qhttpscssxxxdcomsxxdwebpq__\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_99px_\', `h-_99px_`, \"bg-_url_qhttpscssyyydcomsxxdwebpq__\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:373:41
test/webpack.v5.test.ts > webpack5 plugin > disabled true: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L445
Error: Snapshot `webpack5 plugin > disabled true > assets 1` mismatched - Expected + Received @@ -360,11 +360,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import './index.wxml'\n// import './index.css'\n\nconst className = 'w-[100px] h-[100px] ' + \"bg-[url('https://xxx.com/xx.webp')]\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add('w-[99px]', `h-[99px]`, \"bg-[url('https://yyy.com/xx.webp')]\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import './index.wxml'\r\n// import './index.css'\r\n\r\nconst className = 'w-[100px] h-[100px] ' + \"bg-[url('https://xxx.com/xx.webp')]\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add('w-[99px]', `h-[99px]`, \"bg-[url('https://yyy.com/xx.webp')]\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:445:41
test/webpack.v5.test.ts > webpack5 plugin > mangle true: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L475
Error: Snapshot `webpack5 plugin > mangle true > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'tw-q tw-p \' + \"tw-ya\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'tw-za\', `tw-ab`, \"tw-bb\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'tw-q tw-p \' + \"tw-ya\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'tw-za\', `tw-ab`, \"tw-bb\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:475:41
test/webpack.v5.test.ts > webpack5 plugin > mangle options: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L508
Error: Snapshot `webpack5 plugin > mangle options > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'q p \' + \"ya\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'za\', `ab`, \"bb\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'q p \' + \"ya\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'za\', `ab`, \"bb\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:508:41
test/webpack.v5.test.ts > webpack5 plugin > mangle options with default mangleClassFilter: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L530
Error: Snapshot `webpack5 plugin > mangle options with default mangleClassFilter > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'ice-q ice-p \' + \"ice-ya\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'ice-za\', `ice-ab`, \"ice-bb\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'ice-q ice-p \' + \"ice-ya\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'ice-za\', `ice-ab`, \"ice-bb\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:530:41
test/webpack.v5.test.ts > webpack5 plugin > common: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L175
Error: Snapshot `webpack5 plugin > common > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:175:41
test/webpack.v5.test.ts > webpack5 plugin > common with rem2rpx: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L225
Error: Snapshot `webpack5 plugin > common with rem2rpx > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:225:41
test/webpack.v5.test.ts > webpack5 plugin > common build twice for cache: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L249
Error: Snapshot `webpack5 plugin > common build twice for cache > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:249:41
test/webpack.v5.test.ts > webpack5 plugin > common 0: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L304
Error: Snapshot `webpack5 plugin > common 0 > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_bl_100px_br_ h-_bl_100px_br_ \' + \"bg-_bl_url_pl__q_https_c__s__s_xxx_d_com_s_xx_d_webp_q__qr__br_\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_bl_99px_br_\', `h-_bl_99px_br_`, \"bg-_bl_url_pl__q_https_c__s__s_yyy_d_com_s_xx_d_webp_q__qr__br_\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:304:41
test/webpack.v5.test.ts > webpack5 plugin > common with loader: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L327
Error: Snapshot `webpack5 plugin > common with loader > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_100px_ h-_100px_ \' + \"bg-_url_qhttpscssxxxdcomsxxdwebpq__\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_99px_\', `h-_99px_`, \"bg-_url_qhttpscssyyydcomsxxdwebpq__\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_100px_ h-_100px_ \' + \"bg-_url_qhttpscssxxxdcomsxxdwebpq__\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_99px_\', `h-_99px_`, \"bg-_url_qhttpscssyyydcomsxxdwebpq__\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:327:41
test/webpack.v5.test.ts > webpack5 plugin > unified common: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L373
Error: Snapshot `webpack5 plugin > unified common > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'w-_100px_ h-_100px_ \' + \"bg-_url_qhttpscssxxxdcomsxxdwebpq__\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'w-_99px_\', `h-_99px_`, \"bg-_url_qhttpscssyyydcomsxxdwebpq__\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'w-_100px_ h-_100px_ \' + \"bg-_url_qhttpscssxxxdcomsxxdwebpq__\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'w-_99px_\', `h-_99px_`, \"bg-_url_qhttpscssyyydcomsxxdwebpq__\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:373:41
test/webpack.v5.test.ts > webpack5 plugin > disabled true: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L445
Error: Snapshot `webpack5 plugin > disabled true > assets 1` mismatched - Expected + Received @@ -360,11 +360,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import './index.wxml'\n// import './index.css'\n\nconst className = 'w-[100px] h-[100px] ' + \"bg-[url('https://xxx.com/xx.webp')]\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add('w-[99px]', `h-[99px]`, \"bg-[url('https://yyy.com/xx.webp')]\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import './index.wxml'\r\n// import './index.css'\r\n\r\nconst className = 'w-[100px] h-[100px] ' + \"bg-[url('https://xxx.com/xx.webp')]\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add('w-[99px]', `h-[99px]`, \"bg-[url('https://yyy.com/xx.webp')]\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:445:41
test/webpack.v5.test.ts > webpack5 plugin > mangle true: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L475
Error: Snapshot `webpack5 plugin > mangle true > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'tw-q tw-p \' + \"tw-ya\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'tw-za\', `tw-ab`, \"tw-bb\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'tw-q tw-p \' + \"tw-ya\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'tw-za\', `tw-ab`, \"tw-bb\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:475:41
test/webpack.v5.test.ts > webpack5 plugin > mangle options: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L508
Error: Snapshot `webpack5 plugin > mangle options > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'q p \' + \"ya\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'za\', `ab`, \"bb\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'q p \' + \"ya\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'za\', `ab`, \"bb\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:508:41
test/webpack.v5.test.ts > webpack5 plugin > mangle options with default mangleClassFilter: packages/weapp-tailwindcss/test/webpack.v5.test.ts#L530
Error: Snapshot `webpack5 plugin > mangle options with default mangleClassFilter > assets 1` mismatched - Expected + Received @@ -362,11 +362,11 @@ /*!******************************************************!*\ !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***! \******************************************************/ /***/ (() => { - eval("// import \'./index.wxml\'\n// import \'./index.css\'\n\nconst className = \'ice-q ice-p \' + \"ice-ya\"\n\ndocument.body.append(`<div class=\"${className}\">className</div>`)\n\nconst el = document.createElement()\n\nel.classList.add(\'ice-za\', `ice-ab`, \"ice-bb\")\n\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); + eval("// import \'./index.wxml\'\r\n// import \'./index.css\'\r\n\r\nconst className = \'ice-q ice-p \' + \"ice-ya\"\r\n\r\ndocument.body.append(`<div class=\"${className}\">className</div>`)\r\n\r\nconst el = document.createElement()\r\n\r\nel.classList.add(\'ice-za\', `ice-ab`, \"ice-bb\")\r\n\r\ndocument.body.appendChild(el)\n\n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?"); /***/ }) /******/ }); /************************************************************************/ ❯ test/webpack.v5.test.ts:530:41