Skip to content

Commit

Permalink
chore(plugin/optimizer): ♻️ add new import alias to path normalizer
Browse files Browse the repository at this point in the history
  • Loading branch information
diecodev authored and PatrickJS committed May 1, 2024
1 parent 7a6f65c commit 916982d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/qwik/src/optimizer/src/plugins/plugin.ts
Expand Up @@ -237,7 +237,7 @@ export function createPlugin(optimizerOptions: OptimizerOptions = {}) {
opts.input = Array.isArray(opts.input)
? opts.input.reduce((inputs, i) => {
let input = i;
if (!i.startsWith('@') && !i.startsWith('~')) {
if (!i.startsWith('@') && !i.startsWith('~') && !i.startsWith('#')) {
input = normalizePath(path.resolve(opts.rootDir, i));
}
if (!inputs.includes(input)) {
Expand Down

0 comments on commit 916982d

Please sign in to comment.