Skip to content

Commit

Permalink
feat(script-loader): support platform-loader of npm
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftj18 committed Sep 16, 2022
1 parent 06bdd95 commit 1c72199
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/jsx2mp-loader/src/script-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ module.exports = function scriptLoader(content) {
content
].join('\n');
} else {
outputFile(rawContent);
// outputFile(rawContent);
outputFile(content);
}
} else if (isFromConstantDir(this.resourcePath) && isThirdMiniappComponent) {
const dependencies = [];
Expand Down

0 comments on commit 1c72199

Please sign in to comment.