Skip to content

Commit

Permalink
fix: css-syntax-error minification error
Browse files Browse the repository at this point in the history
  • Loading branch information
gaboesquivel committed Aug 25, 2023
1 parent d8eadfa commit 9613230
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 45 deletions.
2 changes: 1 addition & 1 deletion frontend/.eslintcache

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions frontend/index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta charset="utf-8" />
<meta name="theme-color" content="#000000" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>Link! Url Shortener</title>
<meta name="description" content=">Link! Url Shortener." />
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
Expand Down
37 changes: 0 additions & 37 deletions frontend/public/index.html

This file was deleted.

3 changes: 0 additions & 3 deletions frontend/public/robots.txt

This file was deleted.

2 changes: 2 additions & 0 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ import nodePolyfills from 'vite-plugin-node-stdlib-browser';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), tsConfigPaths(), eslintPlugin(), svgr(), nodePolyfills()],

server: { port: 8081 },
build: {
minify: false, // solves vite [WARNING] Expected ";" [css-syntax-error]
target: 'esnext',
rollupOptions: {
output: {
Expand Down

0 comments on commit 9613230

Please sign in to comment.