Skip to content

Commit fa58310

Browse files
committed
feat: ability to disable extract modules, ci fix
1 parent b986c54 commit fa58310

File tree

5 files changed

+5
-73
lines changed

5 files changed

+5
-73
lines changed

test/cases/disable-extract-func/expected/2.css

Lines changed: 0 additions & 4 deletions
This file was deleted.

test/cases/disable-extract-func/expected/2.js

Lines changed: 0 additions & 66 deletions
This file was deleted.

test/cases/disable-extract-func/expected/3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ __webpack_require__.r(__webpack_exports__);
4848

4949
exports = module.exports = __webpack_require__(14)(false);
5050
// Module
51-
exports.push([module.i, ".is-async-1 {\r\n background: magenta;\r\n}", ""]);
51+
exports.push([module.i, ".is-async-1 {\n background: magenta;\n}\n", ""]);
5252

5353

5454
/***/ })
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.is-async-2 {
2-
background: brown;
2+
background: brown;
33
}
4+

test/cases/disable-extract-func/expected/index2.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,10 @@
256256
__webpack_require__.r(__webpack_exports__);
257257
/* harmony import */ var _is_async2_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
258258
/* harmony import */ var _is_async2_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_is_async2_css__WEBPACK_IMPORTED_MODULE_0__);
259-
__webpack_require__.e(/* import() */ 3).then(__webpack_require__.bind(null, 12));
260259

261260

261+
__webpack_require__.e(/* import() */ 3).then(__webpack_require__.bind(null, 12));
262+
262263
// console.log('index2');
263264

264265

0 commit comments

Comments
 (0)