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 8d500be commit e951e2bCopy full SHA for e951e2b
README.md
@@ -82,21 +82,6 @@ There are workarounds for both:
82
}
83
84
```
85
-- we can serialize and eval the code to prevent vite from touching it:
86
-```typescript
87
-{
88
- plugins: [{
89
- // prevent vite from trying to inject code into an extension file du to an `import()` in that file
90
- name: 'hack-prevent-transform-javascript',
91
- apply: 'serve',
92
- load (source) {
93
- if (source.includes('tsserver.web.js')) {
94
- return `eval(${JSON.stringify(fs.readFileSync(source).toString('utf-8'))})`
95
- }
96
97
- }]
98
-}
99
-```
100
101
### If using Angular and getting `Not allowed to load local resource:` errors
102
0 commit comments