We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04ee9ef commit 229b5b3Copy full SHA for 229b5b3
packages/browser/src/node/project.ts
@@ -106,8 +106,8 @@ export class ProjectBrowser implements IProjectBrowser {
106
if (this.provider.initScripts) {
107
this.parent.initScripts = this.provider.initScripts
108
// make sure the script can be imported
109
+ const allow = this.parent.vite.config.server.fs.allow
110
this.provider.initScripts.forEach((script) => {
- const allow = this.parent.vite.config.server.fs.allow
111
if (!allow.includes(script)) {
112
allow.push(script)
113
}
0 commit comments