Skip to content

Commit 040b519

Browse files
committed
fix(fixes): 修复css路径
1 parent 7030fa7 commit 040b519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/Project.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class Project {
131131
if (cssExtNames.indexOf(extName) > -1) {
132132
let name = sysPath.basename(entry[key], extName),
133133
ofp = sysPath.join(config.context, entry[key]),
134-
np = entry[key] = sysPath.relative(this.cwd, sysPath.join('.cache', entry[key] + '.js')),
134+
np = entry[key] = sysPath.join('../.cache', entry[key] + '.js'),
135135
fp = sysPath.join(config.cwd, '.cache', np);
136136

137137
mkdirp.sync(sysPath.dirname(fp));

0 commit comments

Comments
 (0)