Skip to content

Commit

Permalink
Removed CSS injection plug-in
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomicSponge committed Jun 24, 2024
1 parent b00835f commit 113fe71
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 20 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Added adjustable columns in the Job Manager
- Disabled devTools in production mode
- Removed Stylus for vanilla CSS
- Removed CSS injection plug-in for Vite

## v2.0.1
- Removed `close` button from the input window to prevent accidental closure.
Expand Down
11 changes: 0 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"electron-json-storage": "^4.6.0",
"typescript": "^5.5.2",
"vite": "^5.3.1",
"vite-plugin-css-injected-by-js": "^3.5.1",
"vite-plugin-electron": "^0.28.7",
"vite-plugin-electron-renderer": "^0.14.5",
"vite-plugin-multiple": "^0.2.0"
Expand Down
3 changes: 1 addition & 2 deletions vite.arg-input.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ import path from 'node:path'
import { defineConfig } from 'vite'
import renderer from 'vite-plugin-electron-renderer'
import vue from '@vitejs/plugin-vue'
import cssInjectedByJsPlugin from 'vite-plugin-css-injected-by-js'

export default defineConfig({
plugins: [ renderer(), vue(), cssInjectedByJsPlugin() ],
plugins: [ renderer(), vue() ],
build: {
outDir: 'dist',
emptyOutDir: false,
Expand Down
3 changes: 1 addition & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ import { defineConfig } from 'vite'
import electron from 'vite-plugin-electron/simple'
import multiple from 'vite-plugin-multiple'
import vue from '@vitejs/plugin-vue'
import cssInjectedByJsPlugin from 'vite-plugin-css-injected-by-js'

export default defineConfig(() => {
fs.rmSync(path.join(__dirname, 'dist-electron'), { recursive: true, force: true })

return {
plugins: [
vue(), cssInjectedByJsPlugin(),
vue(),
electron({
main: { entry: 'electron/main.ts' },
preload: { input: path.join(__dirname, 'electron/preload.ts') }
Expand Down
3 changes: 1 addition & 2 deletions vite.jobmgr.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ import path from 'node:path'
import { defineConfig } from 'vite'
import renderer from 'vite-plugin-electron-renderer'
import vue from '@vitejs/plugin-vue'
import cssInjectedByJsPlugin from 'vite-plugin-css-injected-by-js'

export default defineConfig({
plugins: [ renderer(), vue(), cssInjectedByJsPlugin() ],
plugins: [ renderer(), vue() ],
build: {
outDir: 'dist',
emptyOutDir: false,
Expand Down
3 changes: 1 addition & 2 deletions vite.settings.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ import path from 'node:path'
import { defineConfig } from 'vite'
import renderer from 'vite-plugin-electron-renderer'
import vue from '@vitejs/plugin-vue'
import cssInjectedByJsPlugin from 'vite-plugin-css-injected-by-js'

export default defineConfig({
plugins: [ renderer(), vue(), cssInjectedByJsPlugin() ],
plugins: [ renderer(), vue() ],
build: {
outDir: 'dist',
emptyOutDir: false,
Expand Down

0 comments on commit 113fe71

Please sign in to comment.