1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

naive find and replace

This commit is contained in:
Chris Chua 2024-11-07 22:50:23 +08:00
parent c16d5e4b33
commit f1b0584210
3 changed files with 16 additions and 280 deletions

24
rspack.node.config.js Normal file
View file

@ -0,0 +1,24 @@
module.exports = (env) => {
return {
target: 'node',
mode: 'production',
optimization: {
minimize: false,
removeAvailableModules: false,
removeEmptyChunks: false,
splitChunks: false,
},
entry: './electron.js',
output: {
filename: 'bundle-back.js'
},
module: {
rules: [
{ test: /\.node$/, loader: 'node-loader' },
]
}
};
};