mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
chore: scss 路径映射调整
This commit is contained in:
parent
d59b1b1fb7
commit
22907c16a4
@ -257,9 +257,9 @@ if (fis.project.currentMedia() === 'dev') {
|
||||
let pkg = '';
|
||||
|
||||
if (/^amis\/lib\/themes\/(.*)\.css$/.test(uri)) {
|
||||
newName = `amis-ui/scss/themes/${RegExp.$1}.scss`;
|
||||
newName = `/packages/amis-ui/scss/themes/${RegExp.$1}.scss`;
|
||||
} else if (/^amis\/lib\/(.*)\.css$/.test(uri)) {
|
||||
newName = `amis-ui/scss/${RegExp.$1}.scss`;
|
||||
newName = `/packages/amis-ui/scss/${RegExp.$1}.scss`;
|
||||
} else if (
|
||||
uri === 'amis-formula/lib/doc' ||
|
||||
uri === 'amis-formula/lib/doc.md'
|
||||
|
Loading…
Reference in New Issue
Block a user