Skip to content

Commit 2aacc7b

Browse files
authored
Merge pull request #31 from mailcarrierapp/feat/vite
Replace mix with vite
2 parents c8d6f19 + e869189 commit 2aacc7b

25 files changed

+1092
-194
lines changed

bun.lockb

-209 KB
Binary file not shown.

package.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
2-
"private": true,
2+
"type": "module",
33
"scripts": {
4-
"dev": "mix watch",
5-
"watch": "mix watch",
6-
"watch-poll": "mix watch -- --watch-options-poll=3000",
7-
"hot": "mix watch --hot",
8-
"build": "mix --production"
4+
"build": "vite build"
95
},
106
"devDependencies": {
117
"@codemirror/lang-html": "^6.4.8",
@@ -15,13 +11,14 @@
1511
"autoprefixer": "^10.4.17",
1612
"codemirror": "^6.0.1",
1713
"highlight.js": "^11.9.0",
18-
"laravel-mix": "^6.0.6",
14+
"laravel-vite-plugin": "^1.0.2",
1915
"postcss": "^8.4.33",
2016
"postcss-nesting": "^12.0.2",
2117
"resolve-url-loader": "^5.0.0",
22-
"sass": "^1.70.0",
2318
"sass-loader": "^12.1.0",
2419
"tailwindcss": "^3.4.1",
25-
"thememirror": "^2.0.1"
20+
"thememirror": "^2.0.1",
21+
"vite": "^5.2.9",
22+
"vite-plugin-static-copy": "^1.0.2"
2623
}
2724
}

postcss.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default {
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {},
5+
},
6+
};

resources/css/highlight.scss

Lines changed: 0 additions & 2 deletions
This file was deleted.

resources/css/hljs-dark.css

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
.hljs.theme-dark {
2+
color: #abb2bf;
3+
background: #282c34;
4+
}
5+
.hljs.theme-dark .hljs-comment, .hljs.theme-dark .hljs-quote {
6+
color: #5c6370;
7+
font-style: italic;
8+
}
9+
.hljs.theme-dark .hljs-doctag, .hljs.theme-dark .hljs-keyword, .hljs.theme-dark .hljs-formula {
10+
color: #c678dd;
11+
}
12+
.hljs.theme-dark .hljs-section, .hljs.theme-dark .hljs-name, .hljs.theme-dark .hljs-selector-tag, .hljs.theme-dark .hljs-deletion, .hljs.theme-dark .hljs-subst {
13+
color: #e06c75;
14+
}
15+
.hljs.theme-dark .hljs-literal {
16+
color: #56b6c2;
17+
}
18+
.hljs.theme-dark .hljs-string, .hljs.theme-dark .hljs-regexp, .hljs.theme-dark .hljs-addition, .hljs.theme-dark .hljs-attribute, .hljs.theme-dark .hljs-meta .hljs-string {
19+
color: #98c379;
20+
}
21+
.hljs.theme-dark .hljs-attr, .hljs.theme-dark .hljs-variable, .hljs.theme-dark .hljs-template-variable, .hljs.theme-dark .hljs-type, .hljs.theme-dark .hljs-selector-class, .hljs.theme-dark .hljs-selector-attr, .hljs.theme-dark .hljs-selector-pseudo, .hljs.theme-dark .hljs-number {
22+
color: #d19a66;
23+
}
24+
.hljs.theme-dark .hljs-symbol, .hljs.theme-dark .hljs-bullet, .hljs.theme-dark .hljs-link, .hljs.theme-dark .hljs-meta, .hljs.theme-dark .hljs-selector-id, .hljs.theme-dark .hljs-title {
25+
color: #61aeee;
26+
}
27+
.hljs.theme-dark .hljs-built_in, .hljs.theme-dark .hljs-title.class_, .hljs.theme-dark .hljs-class .hljs-title {
28+
color: #e6c07b;
29+
}
30+
.hljs.theme-dark .hljs-emphasis {
31+
font-style: italic;
32+
}
33+
.hljs.theme-dark .hljs-strong {
34+
font-weight: bold;
35+
}
36+
.hljs.theme-dark .hljs-link {
37+
text-decoration: underline;
38+
}

resources/css/hljs-dark.scss

Lines changed: 0 additions & 74 deletions
This file was deleted.

resources/css/hljs-light.css

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
.hljs.theme-light {
2+
color: #383a42;
3+
background: #fafafa;
4+
}
5+
.hljs.theme-light .hljs-comment, .hljs.theme-light .hljs-quote {
6+
color: #a0a1a7;
7+
font-style: italic;
8+
}
9+
.hljs.theme-light .hljs-doctag, .hljs.theme-light .hljs-keyword, .hljs.theme-light .hljs-formula {
10+
color: #a626a4;
11+
}
12+
.hljs.theme-light .hljs-section, .hljs.theme-light .hljs-name, .hljs.theme-light .hljs-selector-tag, .hljs.theme-light .hljs-deletion, .hljs.theme-light .hljs-subst {
13+
color: #e45649;
14+
}
15+
.hljs.theme-light .hljs-literal {
16+
color: #0184bb;
17+
}
18+
.hljs.theme-light .hljs-string, .hljs.theme-light .hljs-regexp, .hljs.theme-light .hljs-addition, .hljs.theme-light .hljs-attribute, .hljs.theme-light .hljs-meta .hljs-string {
19+
color: #50a14f;
20+
}
21+
.hljs.theme-light .hljs-attr, .hljs.theme-light .hljs-variable, .hljs.theme-light .hljs-template-variable, .hljs.theme-light .hljs-type, .hljs.theme-light .hljs-selector-class, .hljs.theme-light .hljs-selector-attr, .hljs.theme-light .hljs-selector-pseudo, .hljs.theme-light .hljs-number {
22+
color: #986801;
23+
}
24+
.hljs.theme-light .hljs-symbol, .hljs.theme-light .hljs-bullet, .hljs.theme-light .hljs-link, .hljs.theme-light .hljs-meta, .hljs.theme-light .hljs-selector-id, .hljs.theme-light .hljs-title {
25+
color: #4078f2;
26+
}
27+
.hljs.theme-light .hljs-built_in, .hljs.theme-light .hljs-title.class_, .hljs.theme-light .hljs-class .hljs-title {
28+
color: #c18401;
29+
}
30+
.hljs.theme-light .hljs-emphasis {
31+
font-style: italic;
32+
}
33+
.hljs.theme-light .hljs-strong {
34+
font-weight: bold;
35+
}
36+
.hljs.theme-light .hljs-link {
37+
text-decoration: underline;
38+
}

resources/css/hljs-light.scss

Lines changed: 0 additions & 74 deletions
This file was deleted.

resources/css/theme.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import "../../vendor/filament/filament/resources/css/theme.css";
2-
2+
@import "./hljs-dark.css";
3+
@import "./hljs-light.css";
34
@config '../../tailwind.config.js';
45

56
.button-send-test svg {

resources/dist/css/highlight.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)