Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fis3怎么把src文件夹里的东西release到dist文件夹里 #54

Open
lmy1991 opened this issue Jul 28, 2016 · 2 comments
Open

fis3怎么把src文件夹里的东西release到dist文件夹里 #54

lmy1991 opened this issue Jul 28, 2016 · 2 comments

Comments

@lmy1991
Copy link

lmy1991 commented Jul 28, 2016

如果。比如我的项目是a
a的文件夹里面有一个src文件夹。
怎么把src文件夹里的东西release到dist文件夹里
我现在release的话。dist文件夹下面会多一个src文件夹。所有的东西都在dist/src里面。

比如我想要的效果
src/js -> dist/js
现在是
src/js -> dist/src/js

@2betop
Copy link
Contributor

2betop commented Jul 28, 2016

fis.match('/src/(**)', {
  release: '/$1'
})

@lmy1991
Copy link
Author

lmy1991 commented Jul 28, 2016

谢大神赏,又学到一招

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants