Skip to content

Commit 949367c

Browse files
fix(unity-bootstrap-theme): bring back css dir
1 parent d1fe96d commit 949367c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/unity-bootstrap-theme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"default": "./src/js/data-layer.js"
8787
},
8888
"./*": "./*",
89-
".": "./dist/unity-bootstrap-theme.css"
89+
".": "./dist/css/unity-bootstrap-theme.css"
9090
},
9191
"peerDependencies": {
9292
"@fortawesome/fontawesome-free": "^5.15.3"

packages/unity-bootstrap-theme/src/scss/_shared.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// load brand rules (former design tokens)
22
@import "custom-asu-variables";
33
// default path for image assets (assuming the images will be hosted from the web root). Storybook and themes override this for their particular path needs
4-
$image-assets-path: "./img" !default;
4+
$image-assets-path: "../img" !default;
55

66
/*
77
TODO: all imports below belong to the previous bootstrap 4 package, you have to check each import and be careful when removing it.

packages/unity-bootstrap-theme/vite.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ const c = {
6161
chunkFileNames: "js/[name].[format]",
6262
assetFileNames: (assetInfo) => {
6363
if (assetInfo.originalFileNames && assetInfo.originalFileNames[0].includes("bundle")) {
64-
return "unity-bootstrap-theme.bundle.[ext]";
64+
return "css/unity-bootstrap-theme.bundle.[ext]";
6565
}
66-
return "[name].[ext]";
66+
return "css/[name].[ext]";
6767
},
6868
format: "es",
6969
},

0 commit comments

Comments
 (0)