-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
polish: improving visualization of the deprecation messages between s…
…erious and warnings with emojis. This also improves their delineation between messages.
- Loading branch information
1 parent
8e38442
commit 218f690
Showing
10 changed files
with
252 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"version": "1aa35375", | ||
"entry": { | ||
"module": "/build/entry.client-KQNYXNB3.js", | ||
"imports": [ | ||
"/build/_shared/chunk-KKGLY5OO.js", | ||
"/build/_shared/chunk-DFDNA4MV.js" | ||
] | ||
}, | ||
"routes": { | ||
"root": { | ||
"id": "root", | ||
"path": "", | ||
"module": "/build/root-DKN4NBPR.js", | ||
"hasAction": false, | ||
"hasLoader": false, | ||
"hasCatchBoundary": false, | ||
"hasErrorBoundary": false | ||
}, | ||
"routes/index": { | ||
"id": "routes/index", | ||
"parentId": "root", | ||
"index": true, | ||
"module": "/build/routes/index-UO44WNAV.js", | ||
"hasAction": false, | ||
"hasLoader": false, | ||
"hasCatchBoundary": false, | ||
"hasErrorBoundary": false | ||
} | ||
}, | ||
"url": "/build/manifest-1AA35375.js" | ||
} |
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,116 @@ | ||
var __defProp = Object.defineProperty; | ||
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true }); | ||
var __export = (target, all) => { | ||
__markAsModule(target); | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
|
||
// ../../node_modules/@remix-run/dev/compiler/shims/react.ts | ||
import * as React from "react"; | ||
|
||
// app/entry.server.tsx | ||
var entry_server_exports = {}; | ||
__export(entry_server_exports, { | ||
default: () => handleRequest | ||
}); | ||
import React2 from "react"; | ||
import { renderToString } from "react-dom/server"; | ||
|
||
// ../../node_modules/remix/esm/client.js | ||
import { Form, Link, Links, LiveReload, Meta, NavLink, Outlet, PrefetchPageLinks, RemixBrowser, RemixServer, Scripts, ScrollRestoration, useActionData, useBeforeUnload, useCatch, useFetcher, useFetchers, useFormAction, useHref, useLoaderData, useLocation, useMatches, useNavigate, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useSearchParams, useSubmit, useTransition } from "@remix-run/react"; | ||
|
||
// app/entry.server.tsx | ||
function handleRequest(request, responseStatusCode, responseHeaders, remixContext) { | ||
const markup = renderToString(/* @__PURE__ */ React2.createElement(RemixServer, { | ||
context: remixContext, | ||
url: request.url | ||
})); | ||
responseHeaders.set("Content-Type", "text/html"); | ||
return new Response("<!DOCTYPE html>" + markup, { | ||
status: responseStatusCode, | ||
headers: responseHeaders | ||
}); | ||
} | ||
|
||
// route-module:/Users/jacobevans/projects/wrangler2/packages/example-remix-pages-app/app/root.tsx | ||
var root_exports = {}; | ||
__export(root_exports, { | ||
default: () => App, | ||
meta: () => meta | ||
}); | ||
import React3 from "react"; | ||
var meta = () => { | ||
return { title: "New Remix App" }; | ||
}; | ||
function App() { | ||
return /* @__PURE__ */ React3.createElement("html", { | ||
lang: "en" | ||
}, /* @__PURE__ */ React3.createElement("head", null, /* @__PURE__ */ React3.createElement("meta", { | ||
charSet: "utf-8" | ||
}), /* @__PURE__ */ React3.createElement("meta", { | ||
name: "viewport", | ||
content: "width=device-width,initial-scale=1" | ||
}), /* @__PURE__ */ React3.createElement(Meta, null), /* @__PURE__ */ React3.createElement(Links, null)), /* @__PURE__ */ React3.createElement("body", null, /* @__PURE__ */ React3.createElement(Outlet, null), /* @__PURE__ */ React3.createElement(ScrollRestoration, null), /* @__PURE__ */ React3.createElement(Scripts, null), false)); | ||
} | ||
|
||
// route-module:/Users/jacobevans/projects/wrangler2/packages/example-remix-pages-app/app/routes/index.tsx | ||
var routes_exports = {}; | ||
__export(routes_exports, { | ||
default: () => Index | ||
}); | ||
import React4 from "react"; | ||
function Index() { | ||
return /* @__PURE__ */ React4.createElement("div", { | ||
style: { fontFamily: "system-ui, sans-serif", lineHeight: "1.4" } | ||
}, /* @__PURE__ */ React4.createElement("h1", null, "Welcome to Remix"), /* @__PURE__ */ React4.createElement("ul", null, /* @__PURE__ */ React4.createElement("li", null, /* @__PURE__ */ React4.createElement("a", { | ||
target: "_blank", | ||
href: "https://remix.run/tutorials/blog", | ||
rel: "noreferrer" | ||
}, "15m Quickstart Blog Tutorial")), /* @__PURE__ */ React4.createElement("li", null, /* @__PURE__ */ React4.createElement("a", { | ||
target: "_blank", | ||
href: "https://remix.run/tutorials/jokes", | ||
rel: "noreferrer" | ||
}, "Deep Dive Jokes App Tutorial")), /* @__PURE__ */ React4.createElement("li", null, /* @__PURE__ */ React4.createElement("a", { | ||
target: "_blank", | ||
href: "https://remix.run/docs", | ||
rel: "noreferrer" | ||
}, "Remix Docs")))); | ||
} | ||
|
||
// <stdin> | ||
import { default as default2 } from "./assets.json"; | ||
var entry = { module: entry_server_exports }; | ||
var routes = { | ||
"root": { | ||
id: "root", | ||
parentId: void 0, | ||
path: "", | ||
index: void 0, | ||
caseSensitive: void 0, | ||
module: root_exports | ||
}, | ||
"routes/index": { | ||
id: "routes/index", | ||
parentId: "root", | ||
path: void 0, | ||
index: true, | ||
caseSensitive: void 0, | ||
module: routes_exports | ||
} | ||
}; | ||
export { | ||
default2 as assets, | ||
entry, | ||
routes | ||
}; | ||
/** | ||
* @remix-run/react v1.1.3 | ||
* | ||
* Copyright (c) Remix Software Inc. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE.md file in the root directory of this source tree. | ||
* | ||
* @license MIT | ||
*/ |
14 changes: 14 additions & 0 deletions
14
packages/example-remix-pages-app/public/build/_shared/chunk-DFDNA4MV.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.