🎨 Run prettier on all files (fix #21)

This commit is contained in:
Alexandre Mouton-Brady
2021-12-24 22:42:17 +01:00
parent d8d2c5b2af
commit ccb0d1a718
38 changed files with 136 additions and 130 deletions
+1
View File
@@ -7,6 +7,7 @@ This is the reason you see a `pnpm-lock.yaml`. That being said, any package mana
```bash
$ npm install # or pnpm install or yarn install
```
### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)
## Available Scripts
+1 -1
View File
@@ -1,4 +1,4 @@
import type { Component } from "solid-js";
import type { Component } from 'solid-js';
const App: Component = () => {
return <h1>Hello world!</h1>;
+3 -4
View File
@@ -1,6 +1,5 @@
import { render } from "solid-js/web";
import { render } from 'solid-js/web';
import App from "./App";
render(() => <App />, document.getElementById("root") as HTMLElement);
import App from './App';
render(() => <App />, document.getElementById('root') as HTMLElement);
+3 -3
View File
@@ -1,10 +1,10 @@
import { defineConfig } from "vite";
import solidPlugin from "vite-plugin-solid";
import { defineConfig } from 'vite';
import solidPlugin from 'vite-plugin-solid';
export default defineConfig({
plugins: [solidPlugin()],
build: {
target: "esnext",
target: 'esnext',
polyfillDynamicImport: false,
},
});