Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix: delete webpack references
Browse files Browse the repository at this point in the history
  • Loading branch information
goosewobbler committed May 3, 2024
1 parent 937af12 commit a16360b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 30 deletions.
17 changes: 1 addition & 16 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,5 @@
"eslint.probe": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
"css.validate": false,
"scss.validate": false,
"stylelint.enable": true,
"vsicons.associations.files": [
{
"icon": "webpack",
"extensions": [
"main.config.js",
"preload.config.js",
"renderer.config.js",
"main.plugins.js",
"renderer.plugins.js",
"rules.js"
],
"filename": true,
"format": "svg"
}
]
"stylelint.enable": true
}
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,17 @@ To start the development server:
pnpm dev
```

Hot Module Replacement (HMR) with React Fast Refresh and Webpack Dev Server is in use for rapid iteration on both `renderer` and `main` processes.
Hot Module Replacement (HMR) is in use for rapid iteration on both `renderer` and `main` processes.

### Tech Stack

The following technologies are used:

- **[Electron](https://electronjs.org)** (App Framework)
- **[TypeScript](https://www.typescriptlang.org)** (Core language)
- **[Babel](https://babeljs.io)** (Transpilation of TS => JS)
- **[Webpack](https://webpack.js.org)** (Development, Build and Deployment tooling)
- **[Electron-Vite](https://electron-vite.org)** (Development, Build and Deployment tooling)
- **[React](https://reactjs.org)** (UI)
- **[Redux Toolkit](https://redux-toolkit.js.org)** (State management)
- **[Zustand](https://docs.pmnd.rs/zustand/getting-started/introduction)** (State management)
- **[PostCSS](https://postcss.org)** (CSS tooling)
- **[TailwindCSS](https://tailwindcss.com)** (Styling)
- **[Vitest](https://vitest.dev)** (Unit Testing)
Expand Down
5 changes: 0 additions & 5 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ src/
static/
test/
types/
webpack/
...configuration files
```

Expand Down Expand Up @@ -64,10 +63,6 @@ Contains [Vitest](https://vitest.dev/) unit / component integration tests and [W

Contains custom type definitions.

#### webpack/

The webpack build configuration, split across two files for each process and one shared rules file. Babel is also configured here.

#### ...configuration files

The rest of the things in the root directory are configuration files for ESLint, Git, Prettier, StyleLint, Vitest, PNPM, PostCSS, TailwindCSS, Electron Builder and TypeScript.
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
"build:appimage-arm64": "node scripts/build.mjs appimage-arm64",
"build:windows": "node scripts/build.mjs windows",
"build:dir": "pnpm clean:build && pnpm bundle && electron-builder --dir",
"bundle": "concurrently 'pnpm bundle:main' 'pnpm bundle:preload' 'pnpm bundle:renderer'",
"bundle:main": "cross-env NODE_ENV=production webpack --config ./webpack/main.config.js --color",
"bundle:preload": "cross-env NODE_ENV=production webpack --config ./webpack/preload.config.js --color",
"bundle:renderer": "cross-env NODE_ENV=production webpack --config ./webpack/renderer.config.js --color",
"start": "pnpm dev:html && electron-vite preview",
"dev": "pnpm dev:html && electron-vite dev --watch",
"dev:html": "cross-env NODE_ENV=development ejs ./src/index.ejs -o ./src/renderer/index.html",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"allowJs": true,
"checkJs": true,
"noEmit": true,
"types": ["node", "webpack-env"],
"types": ["node"],
"typeRoots": ["./types", "./node_modules/@types"],
"resolvePackageJsonExports": true,
"traceResolution": true
Expand Down

0 comments on commit a16360b

Please sign in to comment.