From aada911f7b7a062228f867359c0c17caac0f621a Mon Sep 17 00:00:00 2001 From: ruslan zapevalov Date: Fri, 12 Jan 2024 23:15:02 +0400 Subject: [PATCH] Update configuration files --- .eslintignore | 2 +- package.json | 2 ++ postcss.config.js => postcss.config.cts | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) rename postcss.config.js => postcss.config.cts (76%) diff --git a/.eslintignore b/.eslintignore index 3e68cc4..3efc862 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,3 @@ -postcss.config.js +postcss.config.cts vite.config.ts tailwind.config.js \ No newline at end of file diff --git a/package.json b/package.json index f19829c..ca73501 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "frontend-starter", "version": "1.0.0", "license": "MIT", + "type": "module", "scripts": { "start": "vite", "build": "cross-env NODE_ENV=production tsc && vite build", @@ -35,6 +36,7 @@ "prettier": "^3.2.0", "rollup-plugin-visualizer": "^5.12.0", "tailwindcss": "^3.4.1", + "ts-node": "^10.9.2", "typescript": "^5.3.3", "vite": "^5.0.11", "vite-tsconfig-paths": "^4.2.3" diff --git a/postcss.config.js b/postcss.config.cts similarity index 76% rename from postcss.config.js rename to postcss.config.cts index 33ad091..0551d97 100644 --- a/postcss.config.js +++ b/postcss.config.cts @@ -1,6 +1,8 @@ -module.exports = { +export default { plugins: { tailwindcss: {}, autoprefixer: {}, }, } + +