Skip to content

Commit

Permalink
refactor: split code into main and renderer modules, adopt TS for mai…
Browse files Browse the repository at this point in the history
…n, and improve webpack process for bundling

Signed-off-by: Adam Setch <[email protected]>
  • Loading branch information
setchy committed Sep 30, 2024
1 parent 5eeed57 commit 56e46d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/webpack.paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ const rootPath = path.join(__dirname, '..');

const nodeModulesPath = path.join(rootPath, 'node_modules');

const assetsImagesPath = path.join(rootPath, 'assets', 'images');
const assetsSoundsPath = path.join(rootPath, 'assets', 'sounds');
const assetsPath = path.join(rootPath, 'assets');
const assetsImagesPath = path.join(assetsPath, 'images');
const assetsSoundsPath = path.join(assetsPath, 'sounds');

const srcPath = path.join(rootPath, 'src');
const srcMainPath = path.join(srcPath, 'main');
Expand All @@ -18,6 +19,7 @@ const distPath = path.join(rootPath, 'dist');
export default {
rootPath,
nodeModulesPath,
assetsPath,
assetsImagesPath,
assetsSoundsPath,
srcPath,
Expand Down

0 comments on commit 56e46d3

Please sign in to comment.