Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Jul 3, 2024
1 parent ef17ee7 commit de9930e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/build/generate-css.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ async function genCss(name, min) {
less.render
.call(less, content, {
plugins,
paths: ['node_modules/'],
javascriptEnabled: true,
paths: [path.join(__dirname, '../../node_modules/')]
})
.then(({ css }) => {
const savePath = path.join(ROOT_DIR, `theme/${name}${min ? '.min' : ''}.css`);
Expand Down

0 comments on commit de9930e

Please sign in to comment.