diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3a3cce5..13fbd7f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,7 @@ version: 2 updates: - - package-ecosystem: "npm" # See documentation for possible values - directory: "/" # Location of package manifests + - package-ecosystem: 'npm' # See documentation for possible values + directory: '/' # Location of package manifests schedule: - interval: "weekly" + interval: 'weekly' diff --git a/README.md b/README.md index a8d6864..df9abe8 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,6 @@ Integrate ReScript with Vite by: > If you are looking for a template to quickly start a project using Vite, ReScript and React, take a look at [vitejs-template-react-rescript](https://github.com/jihchi/vitejs-template-react-rescript), the template depends on this plugin. - ```sh # npm npm i -D @jihchi/vite-plugin-rescript @@ -42,7 +41,9 @@ export default defineConfig({ If you're using `require` syntax: ```js -const { default: createReScriptPlugin } = require('@jihchi/vite-plugin-rescript'); +const { + default: createReScriptPlugin, +} = require('@jihchi/vite-plugin-rescript'); ``` ## Using Loader @@ -90,7 +91,7 @@ since the paths to the node_modules will be generated as relative to the `lib` f For HTML entry points, it must be imported using inline JS: ```html - + diff --git a/vitest.config.ts b/vitest.config.ts index 40b117a..e2131ea 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -1,6 +1,6 @@ /// -import { defineConfig } from 'vite' +import { defineConfig } from 'vite'; export default defineConfig({ test: {}, -}) +});