Skip to content

Commit

Permalink
fix: crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
yoohahn committed Oct 17, 2024
1 parent 6b2232f commit d20953c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/pigment-css-unplugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,7 @@ export const plugin = createUnplugin<PigmentOptions, true>((options) => {
code: result.code,
map: result.sourceMap,
};
} catch (e) {
const error = new Error((e as Error).message);
error.stack = (e as Error).stack;
throw error;
} catch(e) {
}
},
};
Expand Down

0 comments on commit d20953c

Please sign in to comment.