Skip to content

Commit e2a0099

Browse files
committed
removed legacy css imports
1 parent 1bf9db8 commit e2a0099

4 files changed

Lines changed: 6 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "remix-development-tools",
33
"description": "Remix development tools - a set of tools for developing/debugging Remix.run apps",
44
"author": "Alem Tuzlak",
5-
"version": "4.0.8",
5+
"version": "4.0.9",
66
"license": "MIT",
77
"keywords": [
88
"remix",

src/test-apps/remix-vite/app/routes/_index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ export default function Index() {
5454
onClick={() => pFetcher.submit(data, { method: "POST", action: "/" })}
5555
>
5656
FETCHER Action
57-
</button>
58-
59-
57+
</button>
6058
<button onClick={() => submit(null, { method: "POST", action: "/" })}>
6159
SUBMIT Action
6260
</button>

src/test-apps/remix-vite/app/routes/_layout.tests.$id.edit.new.$test.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ export const loader = async ({ request }: LoaderFunctionArgs) => {
1616
with: {
1717
nested: {
1818
objects: {
19-
19+
2020
},
21-
},
21+
},
2222
},
2323
}, { headers: { "Cache-Control": "max-age=3600, private" } });
2424
};
@@ -34,7 +34,7 @@ export default function IndexRoute() {
3434
const pFetcher = useFetcher();
3535
const submit = useSubmit();
3636
const data = new FormData();
37-
data.append("test", "test");
37+
data.append("test", "test");
3838
return (
3939
<div style={{ fontFamily: "system-ui, sans-serif", lineHeight: "1.8" }}>
4040
<h1>Welcome to Remix 4</h1>

src/vite/plugin.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ export const remixDevTools: (args?:RemixViteConfig) => Plugin[] = (args) => {
135135

136136
const imports = [
137137
'import { withViteDevTools } from "remix-development-tools/client";',
138-
'import rdtStylesheet from "remix-development-tools/client.css?url";',
139-
'import "remix-development-tools/client.css?inline";',
138+
'import rdtStylesheet from "remix-development-tools/client.css?url";',
140139
// plugins.map((plugin) => `import { ${plugin.name} } from "${plugin.path}";`).join("\n"),
141140
];
142141

0 commit comments

Comments
 (0)