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:
parent
c16d5e4b33
commit
f1b0584210
3 changed files with 16 additions and 280 deletions
24
rspack.node.config.js
Normal file
24
rspack.node.config.js
Normal 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' },
|
||||
]
|
||||
}
|
||||
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue