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

相对路径被转换成绝对路径 #2

Open
thethreeonee opened this issue Feb 10, 2015 · 1 comment
Open

相对路径被转换成绝对路径 #2

thethreeonee opened this issue Feb 10, 2015 · 1 comment

Comments

@thethreeonee
Copy link

我在 html 里如此写:

<link rel="stylesheet" type="text/css" href="lib/Toolkit/Toolkit.min.css" />

生成的 html 里却是:

<link rel="stylesheet" type="text/css" href="/lib/Toolkit/Toolkit.min_b75e6adad5.css" />

相对路径被转成了绝对路径,rsd 配置文件如下:

fis.config.set('project.md5Length', 10);

fis.config.set('modules.parser', {
    sass : 'compass',
    scss: 'compass'
});

项目是用 cordova 创建的空项目

@fouber
Copy link
Owner

fouber commented Feb 10, 2015

@MiincGu

fis使用的是绝对路径,面向的是web工程优化,这里可能不太适合本地应用

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