From b9f450978cfaf9f25e544a5f8ff4cf69d9705ff7 Mon Sep 17 00:00:00 2001 From: Yat Ho Date: Fri, 19 Jul 2024 12:12:14 +0800 Subject: [PATCH] chore: convert `transmission-web` to ES module --- web/{.eslintrc.js => .eslintrc.cjs} | 0 web/package.json | 1 + web/{prettier.config.js => prettier.config.cjs} | 0 web/{stylelint.config.js => stylelint.config.cjs} | 0 4 files changed, 1 insertion(+) rename web/{.eslintrc.js => .eslintrc.cjs} (100%) rename web/{prettier.config.js => prettier.config.cjs} (100%) rename web/{stylelint.config.js => stylelint.config.cjs} (100%) diff --git a/web/.eslintrc.js b/web/.eslintrc.cjs similarity index 100% rename from web/.eslintrc.js rename to web/.eslintrc.cjs diff --git a/web/package.json b/web/package.json index 7259958de..deadc9984 100644 --- a/web/package.json +++ b/web/package.json @@ -3,6 +3,7 @@ "main": "index.js", "repository": "https://github.com/transmission/transmission", "license": "MIT", + "type": "module", "scripts": { "build": "node esbuild.mjs", "dev": "DEV=true node esbuild.mjs", diff --git a/web/prettier.config.js b/web/prettier.config.cjs similarity index 100% rename from web/prettier.config.js rename to web/prettier.config.cjs diff --git a/web/stylelint.config.js b/web/stylelint.config.cjs similarity index 100% rename from web/stylelint.config.js rename to web/stylelint.config.cjs