Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LESS version does not compiles with less v4 #24

Open
ZuBB opened this issue Oct 18, 2021 · 0 comments
Open

LESS version does not compiles with less v4 #24

ZuBB opened this issue Oct 18, 2021 · 0 comments

Comments

@ZuBB
Copy link

ZuBB commented Oct 18, 2021

Just so you (and everyone who come) know: less version of your breakpoints does not compile with less v4.

for that unit() calls fix is simple -- wrap math expressions into additional parentheses. but for .bp() call I failed to find a fix

[failed] [1 error]

    ERROR in ./src/frontend/assets/skin/theme.less (./node_modules/css-loader/dist/cjs.js!./node_modules/less-loader/dist/cjs.js!./src/frontend/assets/skin/theme.less)
    Module build failed (from ./node_modules/less-loader/dist/cjs.js):



        .bp(m, {
      ^
    Error evaluating function `unit`: Operation on an invalid type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant