Skip to content

Commit

Permalink
comments remove
Browse files Browse the repository at this point in the history
  • Loading branch information
JasminDreasond committed Aug 14, 2023
1 parent 89ba9f4 commit 3d6bdd3
Showing 1 changed file with 5 additions and 23 deletions.
28 changes: 5 additions & 23 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ const copyFiles = {
dest: 'js/',
},

{
src: 'node_modules/@matrix-org/olm/olm.wasm',
dest: '',
},

{
src: 'config/config.json',
dest: '',
Expand Down Expand Up @@ -107,29 +112,6 @@ export default defineConfig(({ command, mode }) => {
}
};

/*
if (electronMode && mode === 'development') {
envData.maindir = __dirname;
copyFiles.targets.push({
src: 'node_modules/@matrix-org/olm/olm.wasm',
dest: path.join(envData.maindir, './node_modules/electron/dist/resources/electron.asar/renderer/'),
});
} else {
copyFiles.targets.push({
src: 'node_modules/@matrix-org/olm/olm.wasm',
dest: '',
});
}
*/

copyFiles.targets.push({
src: 'node_modules/@matrix-org/olm/olm.wasm',
dest: '',
});

// Result object
const result = {

Expand Down

0 comments on commit 3d6bdd3

Please sign in to comment.