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 943293c commit 622f60eCopy full SHA for 622f60e
1 file changed
src/bin/build.ts
@@ -95,10 +95,8 @@ export async function build(
95
const aliasDir = resolve(cwd, './src')
96
let aliasOptions: RollupAliasOptions = {
97
entries: options.alias || [
98
- { find: /^@/, replacement: aliasDir },
99
- { find: /^@\//, replacement: aliasDir },
100
- { find: /^~/, replacement: aliasDir },
101
- { find: /^~\//, replacement: aliasDir },
+ { find: '@', replacement: aliasDir },
+ { find: '~', replacement: aliasDir },
102
],
103
}
104
0 commit comments