Skip to content

Commit ba09c67

Browse files
mrTuomoKcursoragent
andcommitted
fix(components): use relative paths for shared SCSS imports
Webpack-style ~ package imports fail in tsup when pnpm does not hoist @events-helsinki/components to root node_modules. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 1b4359c commit ba09c67

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/components/src/components/domain/event/eventInfo/eventInfo.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@use '../../../../styles/breakpoints' as breakpoints;
2-
@use '~@events-helsinki/components/src/styles/helsinkiCityOwned';
2+
@use '../../../../styles/helsinkiCityOwned';
33

44
.eventInfo {
55
padding: 0;

packages/components/src/components/eventName/eventName.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use '~@events-helsinki/components/src/styles/helsinkiCityOwned';
1+
@use '../../styles/helsinkiCityOwned';
22

33
.eventCancelled {
44
color: var(--color-brick);

0 commit comments

Comments
 (0)