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 56e46d3 commit 877635e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/webpack.config.renderer.base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,25 +63,25 @@ const configuration: webpack.Configuration = {

new CopyWebpackPlugin({
patterns: [
// Copy Image Assets
// Image Assets
{
from: webpackPaths.assetsImagesPath,
to: 'assets/images',
},
// Copy Image Assets
// Sound Assets
{
from: webpackPaths.assetsSoundsPath,
to: 'assets/sounds',
},
// Copy Twemoji SVGs to the build directory
// Twemoji SVGs for Emojis
{
from: path.join(
webpackPaths.nodeModulesPath,
'@discordapp/twemoji',
'dist',
'svg',
),
to: 'twemoji', // Output to dist/twemoji
to: 'twemoji',
},
],
}),
Expand Down

0 comments on commit 877635e

Please sign in to comment.