Skip to content

Commit

Permalink
fix: lessLoader.modifyVars config don't work in dev (#900)
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc authored Jan 30, 2024
1 parent fa74338 commit 75b583f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bundler-okam/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ exports.dev = async function (opts) {
cwd,
config: opts.config,
alias: okamConfig.resolve.alias,
modifyVars: opts.config.theme,
modifyVars: opts.config.lessLoader?.modifyVars || opts.config.theme,
sourceMap: getLessSourceMapConfig(okamConfig.devtool),
}),
generateEnd: (args) => {
Expand Down

0 comments on commit 75b583f

Please sign in to comment.