From 54e7fd02934a1cb703bf41c3ee2f11ad00cc70e7 Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 26 Aug 2021 21:50:06 +0900 Subject: [PATCH] =?UTF-8?q?misc:=20type=20module=20=EC=A7=80=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js => .eslintrc.cjs | 2 +- package.json | 3 ++- webpack.config.js => webpack.config.cjs | 0 3 files changed, 3 insertions(+), 2 deletions(-) rename .eslintrc.js => .eslintrc.cjs (85%) rename webpack.config.js => webpack.config.cjs (100%) diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 85% rename from .eslintrc.js rename to .eslintrc.cjs index 8932a0de..877dd203 100644 --- a/.eslintrc.js +++ b/.eslintrc.cjs @@ -4,7 +4,7 @@ module.exports = { parserOptions: { "project": "./tsconfig.json" }, - ignorePatterns: ['*.test.ts', '.eslintrc.js', 'webpack.config.js', '*.js'], + ignorePatterns: ['*.test.ts', '.eslintrc.cjs', 'webpack.config.cjs', '*.js'], overrides: [{ files: ['*.ts', '*.tsx'], }], diff --git a/package.json b/package.json index 115b56ac..b9617f01 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ }, "author": "Hide_D", "license": "MIT", + "type": "module", "dependencies": { "@types/downloadjs": "^1.4.2", "@types/select2": "^4.0.54", @@ -62,4 +63,4 @@ "pre-commit": [ "lint" ] -} +} \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.cjs similarity index 100% rename from webpack.config.js rename to webpack.config.cjs