-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: convert client modules to ESM (#9)
- Loading branch information
1 parent
386155a
commit d720bbb
Showing
15 changed files
with
31 additions
and
28 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"type": "module" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
## Asset Files | ||
- Bundle: bundle.js | ||
- Manifest: main.LAST_HASH.hot-update.json, size: 28 | ||
- Update: main.LAST_HASH.hot-update.js, size: 5127 | ||
- Update: main.LAST_HASH.hot-update.js, size: 5136 | ||
|
||
## Manifest | ||
|
||
|
@@ -41,7 +41,7 @@ __webpack_require__.d(__webpack_exports__, { | |
/* ESM import */var preact_compat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! preact/compat */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/compat/dist/compat.module.js"); | ||
/* ESM import */var preact_hooks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! preact/hooks */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/hooks/dist/hooks.module.js"); | ||
/* module decorator */ module = __webpack_require__.hmd(module); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.cjs */ "../../../../client/prefresh.cjs"); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.js */ "../../../../client/prefresh.js")["default"]; | ||
|
||
var _s = $RefreshSig$(); | ||
|
||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
## Asset Files | ||
- Bundle: bundle.js | ||
- Manifest: main.LAST_HASH.hot-update.json, size: 28 | ||
- Update: main.LAST_HASH.hot-update.js, size: 5432 | ||
- Update: main.LAST_HASH.hot-update.js, size: 5441 | ||
|
||
## Manifest | ||
|
||
|
@@ -41,7 +41,7 @@ __webpack_require__.d(__webpack_exports__, { | |
/* ESM import */var preact_compat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! preact/compat */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/compat/dist/compat.module.js"); | ||
/* ESM import */var preact_hooks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! preact/hooks */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/hooks/dist/hooks.module.js"); | ||
/* module decorator */ module = __webpack_require__.hmd(module); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.cjs */ "../../../../client/prefresh.cjs"); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.js */ "../../../../client/prefresh.js")["default"]; | ||
|
||
var _s = $RefreshSig$(); | ||
|
||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
## Asset Files | ||
- Bundle: bundle.js | ||
- Manifest: main.LAST_HASH.hot-update.json, size: 28 | ||
- Update: main.LAST_HASH.hot-update.js, size: 5448 | ||
- Update: main.LAST_HASH.hot-update.js, size: 5457 | ||
|
||
## Manifest | ||
|
||
|
@@ -41,7 +41,7 @@ __webpack_require__.d(__webpack_exports__, { | |
/* ESM import */var preact_compat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! preact/compat */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/compat/dist/compat.module.js"); | ||
/* ESM import */var preact_hooks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! preact/hooks */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/hooks/dist/hooks.module.js"); | ||
/* module decorator */ module = __webpack_require__.hmd(module); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.cjs */ "../../../../client/prefresh.cjs"); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.js */ "../../../../client/prefresh.js")["default"]; | ||
|
||
var _s = $RefreshSig$(); | ||
|
||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
## Asset Files | ||
- Bundle: bundle.js | ||
- Manifest: main.LAST_HASH.hot-update.json, size: 28 | ||
- Update: main.LAST_HASH.hot-update.js, size: 4704 | ||
- Update: main.LAST_HASH.hot-update.js, size: 4713 | ||
|
||
## Manifest | ||
|
||
|
@@ -41,7 +41,7 @@ __webpack_require__.d(__webpack_exports__, { | |
/* ESM import */var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/compat/jsx-dev-runtime.js"); | ||
/* ESM import */var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! preact/hooks */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/hooks/dist/hooks.module.js"); | ||
/* module decorator */ module = __webpack_require__.hmd(module); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.cjs */ "../../../../client/prefresh.cjs"); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.js */ "../../../../client/prefresh.js")["default"]; | ||
|
||
|
||
var _s = $RefreshSig$(); | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
## Asset Files | ||
- Bundle: bundle.js | ||
- Manifest: main.LAST_HASH.hot-update.json, size: 28 | ||
- Update: main.LAST_HASH.hot-update.js, size: 4596 | ||
- Update: main.LAST_HASH.hot-update.js, size: 4605 | ||
|
||
## Manifest | ||
|
||
|
@@ -41,7 +41,7 @@ __webpack_require__.d(__webpack_exports__, { | |
/* ESM import */var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/compat/jsx-dev-runtime.js"); | ||
/* ESM import */var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! preact/hooks */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/hooks/dist/hooks.module.js"); | ||
/* module decorator */ module = __webpack_require__.hmd(module); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.cjs */ "../../../../client/prefresh.cjs"); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.js */ "../../../../client/prefresh.js")["default"]; | ||
|
||
|
||
var _s = $RefreshSig$(); | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
## Asset Files | ||
- Bundle: bundle.js | ||
- Manifest: main.LAST_HASH.hot-update.json, size: 28 | ||
- Update: main.LAST_HASH.hot-update.js, size: 3809 | ||
- Update: main.LAST_HASH.hot-update.js, size: 3818 | ||
|
||
## Manifest | ||
|
||
|
@@ -39,7 +39,7 @@ __webpack_require__.d(__webpack_exports__, { | |
}); | ||
/* ESM import */var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/compat/jsx-dev-runtime.js"); | ||
/* module decorator */ module = __webpack_require__.hmd(module); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.cjs */ "../../../../client/prefresh.cjs"); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.js */ "../../../../client/prefresh.js")["default"]; | ||
|
||
function App() { | ||
return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)("div", { | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
## Asset Files | ||
- Bundle: bundle.js | ||
- Manifest: main.LAST_HASH.hot-update.json, size: 28 | ||
- Update: main.LAST_HASH.hot-update.js, size: 3809 | ||
- Update: main.LAST_HASH.hot-update.js, size: 3818 | ||
|
||
## Manifest | ||
|
||
|
@@ -39,7 +39,7 @@ __webpack_require__.d(__webpack_exports__, { | |
}); | ||
/* ESM import */var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/compat/jsx-dev-runtime.js"); | ||
/* module decorator */ module = __webpack_require__.hmd(module); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.cjs */ "../../../../client/prefresh.cjs"); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.js */ "../../../../client/prefresh.js")["default"]; | ||
|
||
function App() { | ||
return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)("div", { | ||
|
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
## Asset Files | ||
- Bundle: bundle.js | ||
- Manifest: main.LAST_HASH.hot-update.json, size: 28 | ||
- Update: main.LAST_HASH.hot-update.js, size: 7251 | ||
- Update: main.LAST_HASH.hot-update.js, size: 7269 | ||
|
||
## Manifest | ||
|
||
|
@@ -42,7 +42,7 @@ __webpack_require__.d(__webpack_exports__, { | |
/* ESM import */var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/compat/jsx-dev-runtime.js"); | ||
/* ESM import */var _child__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./child */ "./child.jsx"); | ||
/* module decorator */ module = __webpack_require__.hmd(module); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.cjs */ "../../../../client/prefresh.cjs"); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.js */ "../../../../client/prefresh.js")["default"]; | ||
|
||
|
||
function App() { | ||
|
@@ -144,7 +144,7 @@ __webpack_require__.d(__webpack_exports__, { | |
}); | ||
/* ESM import */var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/compat/jsx-dev-runtime.js"); | ||
/* module decorator */ module = __webpack_require__.hmd(module); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.cjs */ "../../../../client/prefresh.cjs"); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.js */ "../../../../client/prefresh.js")["default"]; | ||
|
||
function Child() { | ||
return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)("span", { | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
## Asset Files | ||
- Bundle: bundle.js | ||
- Manifest: main.LAST_HASH.hot-update.json, size: 28 | ||
- Update: main.LAST_HASH.hot-update.js, size: 3546 | ||
- Update: main.LAST_HASH.hot-update.js, size: 3555 | ||
|
||
## Manifest | ||
|
||
|
@@ -39,7 +39,7 @@ __webpack_require__.d(__webpack_exports__, { | |
}); | ||
/* ESM import */var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/compat/jsx-dev-runtime.js"); | ||
/* module decorator */ module = __webpack_require__.hmd(module); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.cjs */ "../../../../client/prefresh.cjs"); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.js */ "../../../../client/prefresh.js")["default"]; | ||
|
||
function Child() { | ||
return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)("span", { | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
## Asset Files | ||
- Bundle: bundle.js | ||
- Manifest: main.LAST_HASH.hot-update.json, size: 28 | ||
- Update: main.LAST_HASH.hot-update.js, size: 3832 | ||
- Update: main.LAST_HASH.hot-update.js, size: 3841 | ||
|
||
## Manifest | ||
|
||
|
@@ -39,7 +39,7 @@ __webpack_require__.d(__webpack_exports__, { | |
}); | ||
/* ESM import */var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/compat/jsx-dev-runtime.js"); | ||
/* module decorator */ module = __webpack_require__.hmd(module); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.cjs */ "../../../../client/prefresh.cjs"); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.js */ "../../../../client/prefresh.js")["default"]; | ||
|
||
function App() { | ||
var value = "content 2"; | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
## Asset Files | ||
- Bundle: bundle.js | ||
- Manifest: main.LAST_HASH.hot-update.json, size: 28 | ||
- Update: main.LAST_HASH.hot-update.js, size: 3832 | ||
- Update: main.LAST_HASH.hot-update.js, size: 3841 | ||
|
||
## Manifest | ||
|
||
|
@@ -39,7 +39,7 @@ __webpack_require__.d(__webpack_exports__, { | |
}); | ||
/* ESM import */var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ "../../../../node_modules/.pnpm/[email protected]/node_modules/preact/compat/jsx-dev-runtime.js"); | ||
/* module decorator */ module = __webpack_require__.hmd(module); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.cjs */ "../../../../client/prefresh.cjs"); | ||
/* provided dependency */ var __prefresh_utils__ = __webpack_require__(/*! ../../../../client/prefresh.js */ "../../../../client/prefresh.js")["default"]; | ||
|
||
function App() { | ||
var value = "content 3"; | ||
|