Skip to content

Commit

Permalink
Update webpack to v5
Browse files Browse the repository at this point in the history
Update webpack and packages
Update webpack config to match requirements
  • Loading branch information
lithrel committed Feb 19, 2024
1 parent b41f491 commit dec234b
Show file tree
Hide file tree
Showing 6 changed files with 25,887 additions and 32,660 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ jobs:
--test-instance $(cat /tmp/workspace/test-instance)
create-zip:
resource_class: large
docker:
- image: cimg/node:16.19
auth:
Expand Down Expand Up @@ -278,8 +279,8 @@ jobs:
name: Zip file size sanity check
command: |
ls -lh /tmp/workspace/planet4-master-theme.zip
if [ $(wc -c </tmp/workspace/planet4-master-theme.zip) -ge 9000000 ]; then
echo "Zip file size exceeds 9MB, probably something went wrong."
if [ $(wc -c </tmp/workspace/planet4-master-theme.zip) -ge 20000000 ]; then
echo "Zip file size exceeds 20MB, probably something went wrong."
exit 1
fi
- persist_to_workspace:
Expand Down
4 changes: 2 additions & 2 deletions assets/src/scss/bootstrap-build.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Text Domain: planet4-master-theme
@import "vendors/bootstrap";
@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";
// The maps's file is required from bootstrap 5.2 and higher
// @import "~bootstrap/scss/maps";
@import "~bootstrap/scss/variables-dark";
@import "~bootstrap/scss/maps";
@import "~bootstrap/scss/mixins";
@import "~bootstrap/scss/utilities";

Expand Down
2 changes: 1 addition & 1 deletion assets/src/scss/pages/post/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
margin-bottom: 16px;
display: flex;
gap: 8px;
align-items: end;
align-items: flex-end;

a {
color: inherit;
Expand Down
Loading

0 comments on commit dec234b

Please sign in to comment.