Skip to content

Commit

Permalink
Use \0 directly in the virtual file to avoid re-prefixing
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Mar 5, 2024
1 parent b2f9cf9 commit deb6ffe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export const setup = createUnplugin(() => {
// If you find yourself reading this comment,
// be sure to have both plugins setup in your plugins array.
let [apiDocs, manifest] = await Promise.all([
import('kolay/api-docs:virtual'),
import('kolay/manifest:virtual'),
import('\0kolay/api-docs:virtual'),
import('\0kolay/manifest:virtual'),
]);
await docs.setup({
Expand All @@ -56,7 +56,7 @@ export const setup = createUnplugin(() => {
{
importPath: 'kolay/test-support',
content: stripIndent`
import { setupKolay as setup } from 'kolay/setup';
import { setupKolay as setup } from '\0kolay/setup';
export function setupKolay(hooks, config) {
hooks.beforeEach(async function () {
Expand Down

0 comments on commit deb6ffe

Please sign in to comment.