mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
build:deps command to update build files for node.js
This commit is contained in:
parent
f299520ce8
commit
d19b48acf6
4 changed files with 142 additions and 38 deletions
18
webpack.node.config.js
Normal file
18
webpack.node.config.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
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"
|
||||
},
|
||||
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue