mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 03:39:01 +08:00
rename package folders
This commit is contained in:
parent
18c5164af9
commit
14421a11fa
@ -14,10 +14,10 @@ module.exports = function (api) {
|
||||
.options({ appendTsSuffixTo: [/\.vue$/] });
|
||||
|
||||
globby.sync('./packages/*', { onlyDirectories: true })
|
||||
.map(name => name.replace('./packages/tiptap-', ''))
|
||||
.map(name => name.replace('./packages/', ''))
|
||||
.forEach(name => {
|
||||
config.resolve.alias
|
||||
.set(`@tiptap/${name}`, path.resolve(`./packages/tiptap-${name}`))
|
||||
.set(`@tiptap/${name}`, path.resolve(`./packages/${name}`))
|
||||
})
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user