-
-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
986fa8a
commit 5fca139
Showing
15 changed files
with
44 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import a from "./a.json"; | ||
a[2] | ||
|
||
import { answer } from "./lib"; | ||
answer | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,22 @@ | ||
--- expected | ||
+++ actual | ||
@@ -3,30 +3,16 @@ | ||
--- | ||
```js title=main.js | ||
(self['webpackChunkwebpack'] = self['webpackChunkwebpack'] || []).push([["main"], { | ||
-"./answer.js": (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) { | ||
-"use strict"; | ||
-__webpack_require__.r(__webpack_exports__); | ||
-__webpack_require__.d(__webpack_exports__, { | ||
- answer: function() { return answer; } | ||
-}); | ||
- const answer = 103330; | ||
-}), | ||
@@ -14,18 +14,9 @@ | ||
"./index.js": (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
__webpack_require__.r(__webpack_exports__); | ||
-/* harmony import */var _lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib */"./lib.js"); | ||
+/* harmony import */var _a_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./a.json */"./a.json"); | ||
+/* harmony import */var _lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib */"./answer.js"); | ||
|
||
-_lib__WEBPACK_IMPORTED_MODULE_0__.answer; | ||
+_a_json__WEBPACK_IMPORTED_MODULE_0__["2"].a; | ||
}), | ||
_lib__WEBPACK_IMPORTED_MODULE_0__.answer; | ||
-}), | ||
-"./lib.js": (function (__unused_webpack_module, __webpack_exports__, __webpack_require__) { | ||
+"./a.json": (function (module, exports, __webpack_require__) { | ||
"use strict"; | ||
-"use strict"; | ||
-__webpack_require__.r(__webpack_exports__); | ||
-__webpack_require__.d(__webpack_exports__, { | ||
- answer: function() { return _answer__WEBPACK_IMPORTED_MODULE_0__.answer; } | ||
-}); | ||
-/* harmony import */var _answer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./answer */"./answer.js"); | ||
- | ||
-}), | ||
+module.exports = [{"a":1}]}), | ||
}), | ||
|
||
},function(__webpack_require__) { | ||
var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId) } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters