From 4610c1068923ceb3111401485b5dbb9e779d2d5a Mon Sep 17 00:00:00 2001 From: ics-sawada-h Date: Mon, 19 Aug 2024 18:49:10 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=87=E3=83=97=E3=83=AD=E3=82=A4=E7=92=B0?= =?UTF-8?q?=E5=A2=83=E8=A8=AD=E5=AE=9A=E3=81=AE=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- vite.config.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 12d16c0..186753d 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "dev": "vite", "build": "vite build", "preview": "vite preview", - "fix": "stylelint \"**/*.css\" --fix", + "fix": "stylelint \"src/*.css\" --fix", "format": "prettier --write \"**/*.{html,js}\"" }, "license": "MIT", diff --git a/vite.config.js b/vite.config.js index 974d6f2..0acf3c5 100644 --- a/vite.config.js +++ b/vite.config.js @@ -9,7 +9,11 @@ export default defineConfig({ sample: resolve(__dirname, "src/sample/index.html"), multiple: resolve(__dirname, "src/multiple-animation/index.html"), }, + output: { + chunkFileNames: "assets/[name].js", + assetFileNames: "assets/[name][extname]", + }, }, - base: "/240827_theatrejs/" + base: "/240827_theatrejs/", }, });