@@ -364,7 +364,7 @@ view,text,::before,::after {
364364/* !******************************************************!*\\
365365 !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***!
366366 \\******************************************************/
367- /***/ (function () {
367+ /***/ (() => {
368368
369369eval (" // 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?" );
370370
@@ -751,7 +751,7 @@ view,text,::before,::after {
751751/* !******************************************************!*\\
752752 !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***!
753753 \\******************************************************/
754- /***/ (function () {
754+ /***/ (() => {
755755
756756eval (" // 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?" );
757757
@@ -1138,7 +1138,7 @@ view,text,::before,::after {
11381138/* !******************************************************!*\\
11391139 !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***!
11401140 \\******************************************************/
1141- /***/ (function () {
1141+ /***/ (() => {
11421142
11431143eval (" // 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?" );
11441144
@@ -1521,7 +1521,7 @@ view,text,::before,::after {
15211521/* !******************************************************!*\\
15221522 !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***!
15231523 \\******************************************************/
1524- /***/ (function () {
1524+ /***/ (() => {
15251525
15261526eval (" // 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?" );
15271527
@@ -1912,7 +1912,7 @@ view,text,::before,::after {
19121912/* !******************************************************!*\\
19131913 !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***!
19141914 \\******************************************************/
1915- /***/ (function () {
1915+ /***/ (() => {
19161916
19171917eval (" // 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?" );
19181918
@@ -2299,7 +2299,7 @@ view,text,::before,::after {
22992299/* !******************************************************!*\\
23002300 !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***!
23012301 \\******************************************************/
2302- /***/ (function () {
2302+ /***/ (() => {
23032303
23042304eval (" // 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?" );
23052305
@@ -2684,7 +2684,7 @@ exports[`webpack5 plugin > disabled true > assets 1`] = `
26842684/* !******************************************************!*\\
26852685 !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***!
26862686 \\******************************************************/
2687- /***/ (function () {
2687+ /***/ (() => {
26882688
26892689eval (" // 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?" );
26902690
@@ -3214,7 +3214,7 @@ view,text,::before,::after {
32143214/* !******************************************************!*\\
32153215 !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***!
32163216 \\******************************************************/
3217- /***/ (function () {
3217+ /***/ (() => {
32183218
32193219eval (" // 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?" );
32203220
@@ -3601,7 +3601,7 @@ view,text,::before,::after {
36013601/* !******************************************************!*\\
36023602 !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***!
36033603 \\******************************************************/
3604- /***/ (function () {
3604+ /***/ (() => {
36053605
36063606eval (" // import \\ './index.wxml\\ '\\ n// import \\ './index.css\\ '\\ n\\ nconst className = \\ 'som-s som-r \\ ' + \\ " som - bb \\" \\ n\\ ndocument.body.append(\` <div class=\\ " \$ {className }\\" >className</div>\` )\\ n\\ nconst el = document.createElement()\\ n\\ nel.classList.add(\\ 'som-cb\\ ', \` som-db\` , \\ " som - eb \\" )\\ n\\ ndocument.body.appendChild(el)\\ n\\ n//# sourceURL=webpack://weapp-tailwindcss/./test/fixtures/webpack/v5/wxml/pages/index.js?" );
36073607
@@ -3988,7 +3988,7 @@ view,text,::before,::after {
39883988/* !******************************************************!*\\
39893989 !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***!
39903990 \\******************************************************/
3991- /***/ (function () {
3991+ /***/ (() => {
39923992
39933993eval (" // 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?" );
39943994
@@ -4375,7 +4375,7 @@ view,text,::before,::after {
43754375/* !******************************************************!*\\
43764376 !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***!
43774377 \\******************************************************/
4378- /***/ (function () {
4378+ /***/ (() => {
43794379
43804380eval (" // 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?" );
43814381
@@ -4415,7 +4415,7 @@ exports[`webpack5 plugin > multiple tailwindcss contexts > assets 1`] = `
44154415}
44164416
44174417",
4418- "index.js": "!function() { " use strict" ;document .querySelector (" #app" ).innerHTML = ' \\ n<main class="after:content-[\\ ' index .js \\' ]"">\\ n</main>\\ n' } ();",
4418+ "index.js": "(()=> { " use strict" ;document .querySelector (" #app" ).innerHTML = ' \\ n<main class="after:content-[\\ ' index .js \\' ]"">\\ n</main>\\ n' } ) ();",
44194419 "module.css": "
44204420
44214421/* .b {
@@ -4431,7 +4431,7 @@ exports[`webpack5 plugin > multiple tailwindcss contexts > assets 1`] = `
44314431}
44324432
44334433",
4434- "module.js": "!function() { " use strict" ;document .querySelector (" #app" ).innerHTML = " \\ n<main class=\\ " after :content - [' m/index.js' ]\\" >\\ n</main>\\ n" } ();",
4434+ "module.js": "(()=> { " use strict" ;document .querySelector (" #app" ).innerHTML = " \\ n<main class=\\ " after :content - [' m/index.js' ]\\" >\\ n</main>\\ n" } ) ();",
44354435}
44364436` ;
44374437
@@ -4455,7 +4455,7 @@ exports[`webpack5 plugin > multiple tailwindcss contexts raw case 0 > assets 1`]
44554455 content : var (-- tw - content )
44564456}
44574457",
4458- "index.js": "!function() { var n = {477:function( n ){ n .exports = " " }},t = {};function e( r ){var o= t [ r ];if (void 0 !== o )return o .exports ;var u = t [ r ]= {exports:{}};return n [ r ]( u , u .exports ,e ), u .exports }e .n = function ( n ) {var t = n && n .__esModule ? function (){ return n .default } : function (){ return n } ;return e .d (t ,{a:t }),t }, e .d = function ( n , t ) {for (var r in t ) e .o (t , r )&&! e .o (n , r )&& Object .defineProperty (n , r , {enumerable:! 0 ,get:t [ r ]})},e .o = function ( n , t ){ return Object .prototype .hasOwnProperty .call (n , t )}, function () {" use strict" ;e (477 ),document .querySelector (" #app" ).innerHTML = ' \\ n<main class="after:content-[\\ ' index .js \\' ]"">\\ n</main>\\ n' }()} ();",
4458+ "index.js": "(()=> { var e = {477:e=>{e .exports=" "}} ,r ={ } ;function t(n ){ var o = r [ n ];if (void 0 !== o )return o .exports ;var a = r [ n ]= {exports:{}};return e [ n ]( a , a .exports ,t ), a .exports } t .n=e=> { var r = e && e .__esModule ? () => e .default : () => e ;return t .d (r ,{a:r }),r } ,t .d=(e,r)=> { for (var n in r ) t .o (r , n )&&! t .o (e , n )&& Object .defineProperty (e , n , {enumerable:! 0 ,get:r [ n ]})} ,t .o=(e,r)=> Object.prototype.hasOwnProperty.call(e,r),(()=> { " use strict" ;t (477 ),document .querySelector (" #app" ).innerHTML = ' \\ n<main class="after:content-[\\ ' index .js \\' ]"">\\ n</main>\\ n' } ) ()}) ();",
44594459 "module.css": "
44604460
44614461/* .b {
@@ -4470,7 +4470,7 @@ exports[`webpack5 plugin > multiple tailwindcss contexts raw case 0 > assets 1`]
44704470 content : var (-- tw - content )
44714471}
44724472",
4473- "module.js": "!function() { var n = {480:function( n ){ n .exports = " " }},t = {};function e( r ){var o= t [ r ];if (void 0 !== o )return o .exports ;var u = t [ r ]= {exports:{}};return n [ r ]( u , u .exports ,e ), u .exports }e .n = function ( n ) {var t = n && n .__esModule ? function (){ return n .default } : function (){ return n } ;return e .d (t ,{a:t }),t }, e .d = function ( n , t ) {for (var r in t ) e .o (t , r )&&! e .o (n , r )&& Object .defineProperty (n , r , {enumerable:! 0 ,get:t [ r ]})},e .o = function ( n , t ){ return Object .prototype .hasOwnProperty .call (n , t )}, function () {" use strict" ;e (480 ),document .querySelector (" #app" ).innerHTML = " \\ n<main class=\\ " after :content - [' m/index.js' ]\\" >\\ n</main>\\ n" }()} ();",
4473+ "module.js": "(()=> { var e = {480:e=>{e .exports=" "}} ,r ={ } ;function t(n ){ var o = r [ n ];if (void 0 !== o )return o .exports ;var a = r [ n ]= {exports:{}};return e [ n ]( a , a .exports ,t ), a .exports } t .n=e=> { var r = e && e .__esModule ? () => e .default : () => e ;return t .d (r ,{a:r }),r } ,t .d=(e,r)=> { for (var n in r ) t .o (r , n )&&! t .o (e , n )&& Object .defineProperty (e , n , {enumerable:! 0 ,get:r [ n ]})} ,t .o=(e,r)=> Object.prototype.hasOwnProperty.call(e,r),(()=> { " use strict" ;t (480 ),document .querySelector (" #app" ).innerHTML = " \\ n<main class=\\ " after :content - [' m/index.js' ]\\" >\\ n</main>\\ n" } ) ()}) ();",
44744474}
44754475` ;
44764476
@@ -4495,7 +4495,7 @@ exports[`webpack5 plugin > multipleContexts case 1 > assets 1`] = `
44954495}
44964496
44974497",
4498- "index.js": "!function() { " use strict" ;document .querySelector (" #app" ).innerHTML = ' \\ n<main class="after:content-[\\ ' index .js \\' ]"">\\ n</main>\\ n' } ();",
4498+ "index.js": "(()=> { " use strict" ;document .querySelector (" #app" ).innerHTML = ' \\ n<main class="after:content-[\\ ' index .js \\' ]"">\\ n</main>\\ n' } ) ();",
44994499 "module.css": "
45004500
45014501/* .b {
@@ -4511,7 +4511,7 @@ exports[`webpack5 plugin > multipleContexts case 1 > assets 1`] = `
45114511}
45124512
45134513",
4514- "module.js": "!function() { " use strict" ;document .querySelector (" #app" ).innerHTML = " \\ n<main class=\\ " after :content - [' m/index.js' ]\\" >\\ n</main>\\ n" } ();",
4514+ "module.js": "(()=> { " use strict" ;document .querySelector (" #app" ).innerHTML = " \\ n<main class=\\ " after :content - [' m/index.js' ]\\" >\\ n</main>\\ n" } ) ();",
45154515}
45164516` ;
45174517
@@ -4889,7 +4889,7 @@ view,text,::before,::after {
48894889/* !******************************************************!*\\
48904890 !*** ./test/fixtures/webpack/v5/wxml/pages/index.js ***!
48914891 \\******************************************************/
4892- /***/ (function () {
4892+ /***/ (() => {
48934893
48944894eval (" // 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?" );
48954895
0 commit comments