mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
fix(tools): import() requires file:// on windows (#9373)
This commit is contained in:
@@ -58,7 +58,7 @@ export class BundleCommand extends PackageCommand {
|
||||
.join('webpack.config.ts');
|
||||
|
||||
if (overrideConfigPath.isFile()) {
|
||||
const override = await import(overrideConfigPath.value);
|
||||
const override = await import(overrideConfigPath.toFileUrl().toString());
|
||||
configOverride = override.config ?? override.default;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user