From 151d78db708a8eb5839e839f81ca3dc1ee3d0dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Sat, 19 Nov 2022 05:36:53 +0900 Subject: [PATCH] Remove trivial --- .../pages/_app-44371e53a69c3879/input.js | 53 ------------------- .../pages/_app-44371e53a69c3879/output.js | 44 --------------- .../pages/_error-c8b0663085900c58/input.js | 25 --------- .../pages/_error-c8b0663085900c58/output.js | 30 ----------- .../pages/index-5f716484c7c1584d/input.js | 47 ---------------- .../pages/index-5f716484c7c1584d/output.js | 49 ----------------- 6 files changed, 248 deletions(-) delete mode 100644 crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_app-44371e53a69c3879/input.js delete mode 100644 crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_app-44371e53a69c3879/output.js delete mode 100644 crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_error-c8b0663085900c58/input.js delete mode 100644 crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_error-c8b0663085900c58/output.js delete mode 100644 crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/index-5f716484c7c1584d/input.js delete mode 100644 crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/index-5f716484c7c1584d/output.js diff --git a/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_app-44371e53a69c3879/input.js b/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_app-44371e53a69c3879/input.js deleted file mode 100644 index e52bd70a8c75..000000000000 --- a/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_app-44371e53a69c3879/input.js +++ /dev/null @@ -1,53 +0,0 @@ -(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([[888],{ - -/***/ 1118: -/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { - - - (window.__NEXT_P = window.__NEXT_P || []).push([ - "/_app", - function () { - return __webpack_require__(8484); - } - ]); - if(false) {} - - -/***/ }), - -/***/ 8484: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5893); -/* harmony import */ var _styles_globals_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7475); -/* harmony import */ var _styles_globals_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_styles_globals_css__WEBPACK_IMPORTED_MODULE_1__); - - -function MyApp(param) { - let { Component , pageProps } = param; - return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Component, { - ...pageProps - }); -} -/* harmony default export */ __webpack_exports__["default"] = (MyApp); - - -/***/ }), - -/***/ 7475: -/***/ (function() { - -// extracted by mini-css-extract-plugin - -/***/ }) - -}, -/******/ function(__webpack_require__) { // webpackRuntimeModules -/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); } -/******/ __webpack_require__.O(0, [774,179], function() { return __webpack_exec__(1118), __webpack_exec__(880); }); -/******/ var __webpack_exports__ = __webpack_require__.O(); -/******/ _N_E = __webpack_exports__; -/******/ } -]); \ No newline at end of file diff --git a/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_app-44371e53a69c3879/output.js b/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_app-44371e53a69c3879/output.js deleted file mode 100644 index 20c1e0931ab8..000000000000 --- a/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_app-44371e53a69c3879/output.js +++ /dev/null @@ -1,44 +0,0 @@ -(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([ - [ - 888 - ], - { - 1118: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { - (window.__NEXT_P = window.__NEXT_P || []).push([ - "/_app", - function() { - return __webpack_require__(8484); - } - ]); - if (false) ; - }, - 8484: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.r(__webpack_exports__); - var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5893); - var _styles_globals_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7475); - var _styles_globals_css__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(_styles_globals_css__WEBPACK_IMPORTED_MODULE_1__); - function MyApp(param) { - let { Component , pageProps } = param; - return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Component, { - ...pageProps - }); - } - __webpack_exports__["default"] = MyApp; - }, - 7475: function() {} - }, - function(__webpack_require__) { - var __webpack_exec__ = function(moduleId) { - return __webpack_require__(__webpack_require__.s = moduleId); - }; - __webpack_require__.O(0, [ - 774, - 179 - ], function() { - return __webpack_exec__(1118), __webpack_exec__(880); - }); - var __webpack_exports__ = __webpack_require__.O(); - _N_E = __webpack_exports__; - } -]); diff --git a/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_error-c8b0663085900c58/input.js b/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_error-c8b0663085900c58/input.js deleted file mode 100644 index 493ef0093305..000000000000 --- a/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_error-c8b0663085900c58/input.js +++ /dev/null @@ -1,25 +0,0 @@ -(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([[820],{ - -/***/ 1981: -/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { - - - (window.__NEXT_P = window.__NEXT_P || []).push([ - "/_error", - function () { - return __webpack_require__(67); - } - ]); - if(false) {} - - -/***/ }) - -}, -/******/ function(__webpack_require__) { // webpackRuntimeModules -/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); } -/******/ __webpack_require__.O(0, [774,888,179], function() { return __webpack_exec__(1981); }); -/******/ var __webpack_exports__ = __webpack_require__.O(); -/******/ _N_E = __webpack_exports__; -/******/ } -]); \ No newline at end of file diff --git a/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_error-c8b0663085900c58/output.js b/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_error-c8b0663085900c58/output.js deleted file mode 100644 index 153936adb024..000000000000 --- a/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/_error-c8b0663085900c58/output.js +++ /dev/null @@ -1,30 +0,0 @@ -(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([ - [ - 820 - ], - { - 1981: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { - (window.__NEXT_P = window.__NEXT_P || []).push([ - "/_error", - function() { - return __webpack_require__(67); - } - ]); - if (false) ; - } - }, - function(__webpack_require__) { - var __webpack_exec__ = function(moduleId) { - return __webpack_require__(__webpack_require__.s = moduleId); - }; - __webpack_require__.O(0, [ - 774, - 888, - 179 - ], function() { - return __webpack_exec__(1981); - }); - var __webpack_exports__ = __webpack_require__.O(); - _N_E = __webpack_exports__; - } -]); diff --git a/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/index-5f716484c7c1584d/input.js b/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/index-5f716484c7c1584d/input.js deleted file mode 100644 index 8d5efb1325fa..000000000000 --- a/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/index-5f716484c7c1584d/input.js +++ /dev/null @@ -1,47 +0,0 @@ -(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([[405],{ - -/***/ 5557: -/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { - - - (window.__NEXT_P = window.__NEXT_P || []).push([ - "/", - function () { - return __webpack_require__(4369); - } - ]); - if(false) {} - - -/***/ }), - -/***/ 4369: -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": function() { return /* binding */ Home; } -/* harmony export */ }); -/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5893); -/* harmony import */ var _w3ui_react_uploader__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1522); -/* harmony import */ var _w3ui_react_uploader__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_w3ui_react_uploader__WEBPACK_IMPORTED_MODULE_1__); - - -function Home() { - return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_w3ui_react_uploader__WEBPACK_IMPORTED_MODULE_1__.UploaderProvider, { - children: "test" - }); -} - - -/***/ }) - -}, -/******/ function(__webpack_require__) { // webpackRuntimeModules -/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); } -/******/ __webpack_require__.O(0, [610,321,774,888,179], function() { return __webpack_exec__(5557); }); -/******/ var __webpack_exports__ = __webpack_require__.O(); -/******/ _N_E = __webpack_exports__; -/******/ } -]); \ No newline at end of file diff --git a/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/index-5f716484c7c1584d/output.js b/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/index-5f716484c7c1584d/output.js deleted file mode 100644 index 9520fdb24dad..000000000000 --- a/crates/swc_ecma_minifier/tests/fixture/next/43052/static/chunks/pages/index-5f716484c7c1584d/output.js +++ /dev/null @@ -1,49 +0,0 @@ -(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([ - [ - 405 - ], - { - 5557: function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { - (window.__NEXT_P = window.__NEXT_P || []).push([ - "/", - function() { - return __webpack_require__(4369); - } - ]); - if (false) ; - }, - 4369: function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - "use strict"; - __webpack_require__.r(__webpack_exports__); - __webpack_require__.d(__webpack_exports__, { - default: function() { - return Home; - } - }); - var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5893); - var _w3ui_react_uploader__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1522); - var _w3ui_react_uploader__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(_w3ui_react_uploader__WEBPACK_IMPORTED_MODULE_1__); - function Home() { - return (0, react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_w3ui_react_uploader__WEBPACK_IMPORTED_MODULE_1__.UploaderProvider, { - children: "test" - }); - } - } - }, - function(__webpack_require__) { - var __webpack_exec__ = function(moduleId) { - return __webpack_require__(__webpack_require__.s = moduleId); - }; - __webpack_require__.O(0, [ - 610, - 321, - 774, - 888, - 179 - ], function() { - return __webpack_exec__(5557); - }); - var __webpack_exports__ = __webpack_require__.O(); - _N_E = __webpack_exports__; - } -]);