Skip to content

Commit

Permalink
feat: 去除无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
ximing committed Aug 1, 2019
1 parent 88f7dc4 commit e325324
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/plugin/handleWXSSDep.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ module.exports = class HandleWXSSDep {
);
let index = 0;
root.walkAtRules('import', (rule) => {
const libPath = rule.params.replace(/'|"/g, '');
const root = asset.getMeta('root');
rule.params = JSON.stringify(
path.relative(path.dirname(asset.outputFilePath), distDeps[index])
);
Expand Down

0 comments on commit e325324

Please sign in to comment.