Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa committed May 6, 2024
1 parent 2a9837f commit 966d1c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { buildWebEntryModule } from "./html";

export const transform = async (args: any /* TODO */) => {
const { filename, src } = args;
// TODO try lighter approach
const isEntry = isEntryFile(src, filename);
if (isEntry) {
const res = await bundle(filename);
Expand Down

0 comments on commit 966d1c4

Please sign in to comment.