Open bimusiek opened 9 months ago
Current regex requires user to put needed packages in allow-list all the time.
Wouldn't it better to do
const path = require("node:path"); const nodeExternals = require("webpack-node-externals"); module.exports = { webpack: { configure: { target: "electron-renderer", externals: [ nodeExternals({ allowlist: [/^(?!.*(^realm)$)/i], additionalModuleDirs: [path.resolve(__dirname, '../../../node_modules')], }), ], }, }, };
so we basically say, pack everything except realm.
No response
Fairly niche but nice to have anyway
Atlas Device Sync
@bimusiek Thank you for the suggestion. @takameyer what do you think?
Problem
Current regex requires user to put needed packages in allow-list all the time.
Solution
Wouldn't it better to do
so we basically say, pack everything except realm.
Alternatives
No response
How important is this improvement for you?
Fairly niche but nice to have anyway
Feature would mainly be used with
Atlas Device Sync