Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit 01d4228

Browse files
authored
Merge pull request #10 from creode/feature/add-block-library-path-sass-alias
Added a SASS alias for the block library path. This should be used in…
2 parents 36e88e2 + e864286 commit 01d4228

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

theme-template/vite.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ export default defineConfig(
4343
host: DDEV_HOSTNAME,
4444
}
4545
},
46+
resolve: {
47+
alias: {
48+
'@block-library': '/../../mu-plugins/wordpress-blocks/blocks',
49+
},
50+
},
4651
}
4752
}
4853
);

0 commit comments

Comments
 (0)