Skip to content

Commit d8f40b1

Browse files
committed
vite
1 parent 9bf21a0 commit d8f40b1

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/index.html renamed to index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,6 @@ <h1 id="main-title" class="display-3 mb-0">RSS агрегатор</h1>
121121
</div>
122122
</footer>
123123
<deepl-input-controller translate="no"></deepl-input-controller>
124-
<script type="module" src="./js/index.js"></script>
124+
<script type="module" src="./src/js/index.js"></script>
125125
</body>
126126
</html>

vite.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
import { defineConfig } from "vite";
2-
import path from "path";
2+
// import path from "path";
33

44
export default defineConfig({
5-
root: path.resolve(__dirname, "src"),
5+
// root: path.resolve(__dirname, "/"),
6+
// build: {
7+
// outDir: 'build',
8+
// assetsDir: 'assets'
9+
// },
610
server: {
711
port: 8080,
812
hot: true,

0 commit comments

Comments
 (0)