🎨 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,5 +1,5 @@
module.exports = {
purge: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
purge: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
plugins: {
tailwindcss: {},
autoprefixer: {},
+1 -1
View File
@@ -1,4 +1,4 @@
import type { Component } from "solid-js";
import type { Component } from 'solid-js';
const App: Component = () => {
return (
+4 -4
View File
@@ -1,6 +1,6 @@
import "./index.css";
import { render } from "solid-js/web";
import './index.css';
import { render } from 'solid-js/web';
import App from "./App";
import App from './App';
render(() => <App />, document.getElementById("root") as HTMLElement);
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,
},
});