working version with js electron set up sending data to channel and stuff through to the main process

This commit is contained in:
talksik
2022-03-12 18:09:21 -05:00
parent 3b9da153ab
commit 118ffccd64
24 changed files with 2856 additions and 24630 deletions
+29
View File
@@ -0,0 +1,29 @@
module.exports = [
// Add support for native node modules
{
// We're specifying native_modules in the test because the asset relocator loader generates a
// "fake" .node file which is really a cjs file.
test: /native_modules\/.+\.node$/,
use: 'node-loader',
},
{
test: /\.(m?js|node)$/,
parser: { amd: false },
use: {
loader: '@vercel/webpack-asset-relocator-loader',
options: {
outputAssetBase: 'native_modules',
},
},
},
{
test: /\.tsx?$/,
exclude: /(node_modules|\.webpack)/,
use: {
loader: 'ts-loader',
options: {
transpileOnly: true,
},
},
},
];