Skip to content

[Optimization request] Remove empty "modules" #357

Closed
@Andarist

Description

@Andarist

When using this plugin we might end up with something like this:

Click /***/ 54: /***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin

/***/ }),

// 92:
/
/ (function(module, exports, webpack_require) {

// extracted by mini-css-extract-plugin

/***/ }),

// 93:
/
/ (function(module, exports, webpack_require) {

// extracted by mini-css-extract-plugin

/***/ }),

// 94:
/
/ (function(module, exports, webpack_require) {

// extracted by mini-css-extract-plugin

/***/ }),

// 95:
/
/ (function(module, exports, webpack_require) {

// extracted by mini-css-extract-plugin

/***/ }),

// 96:
/
/ (function(module, exports, webpack_require) {

// extracted by mini-css-extract-plugin

/***/ }),

// 97:
/
/ (function(module, exports, webpack_require) {

// extracted by mini-css-extract-plugin

/***/ }),

// 98:
/
/ (function(module, exports, webpack_require) {

// extracted by mini-css-extract-plugin

/***/ }),

Seems like this could be optimized away - i know that probably minifier + gzip makes this kinda cheap, but parsing costs add up and it would be always good to strive for less code in such cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions