```js title=main.js
"use strict";
(self['webpackChunkwebpack'] = self['webpackChunkwebpack'] || []).push([["main"], {
"./index.js": (function (__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
/* ESM import */var _maths_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./maths.js");
/* TREE-SHAKING */


console.log(_maths_js__WEBPACK_IMPORTED_MODULE_0__.xxx.test);
console.log(_maths_js__WEBPACK_IMPORTED_MODULE_0__.square);


}),
"./maths.js": (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.d(__webpack_exports__, {
  square: function() { return square; },
  xxx: function() { return /* reexport module object */ _test_js__WEBPACK_IMPORTED_MODULE_0__; }
});
/* ESM import */var _test_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./test.js");
// maths.js

// This function isn't used anywhere, so
// Rollup excludes it from the bundle...
function square(x) {
	return x * x;
}

// This function gets included
function cube(x) {
	// rewrite this as `square( x ) * x`
	// and see what happens!
	return x * x * x;
}




}),
"./test.js": (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.d(__webpack_exports__, {
  test: function() { return test; }
});
function test() {}
function ccc() {}


}),

},function(__webpack_require__) {
var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId) }
var __webpack_exports__ = (__webpack_exec__("./index.js"));

}
]);
```