Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

We migrate from Gulp to Webpack (and from JS to TS) and we have some conditional less imports so: @import (optional) This worked without any issues before and just used the style, when available. Now ...
0 votes
1 answer
144 views

When I upgrade webpack4.x to 5.88.1, I use the cache function of webpack to improve the build speed. But in some cases that cannot be reproduced stably, there will be errors in the less compiled code ...
0 votes
2 answers
342 views

I've got a Nuxt2 app, the problem is that after the build all the class names are changed to unique ids, but only in the css not in html, so obviously it doesn't work. I've read about putting every ...
1 vote
1 answer
273 views

I am using webpack v5.74.0. I want to add a custom class to all CSS rules at build time using webpack. Example for reference .input-text {color: red} should become .container .input-text {color: red} ...
1 vote
0 answers
187 views

While trying to run the newly created Vue 3 application with Ant design Vue (3.1.0-RC.0) framework, I'm getting unrecognized input error. Vue configurations are not at all changed. Trying to run with ...
1 vote
1 answer
2k views

I am using react-app-rewired and I want to add the less-loader to the config-overides.js but it doesn't work, I tried with module.exports = { module: { rules: [ { test: /\.less$/i, ...
2 votes
1 answer
729 views

I am using Webpack 5 and loading fonts and other styles from a .less file. However, the fonts/styles do not seem to be loading, and I'm trying to figure out why. bootstrap.less @import (less) '~...
2 votes
2 answers
4k views

On OSX, after I installed all of dependencies by yarn install, The webpack bundle's output keeps showing the error Error evaluating function ceil: argument must be a number. I have no idea why this ...
1 vote
0 answers
143 views

Is it possible to setup webpack, that I could use less in my html templates like: // xy.html <style type="text/less"> color: @myColor; </style> Currently the css/less part ...
2 votes
1 answer
2k views

I want to config antd Import on Demand.But I get the error: Variable @import is undefined The error screenshots Why less parse @import as a variable? This is my package.json: "dependencies": ...
0 votes
1 answer
2k views

I had recently created a simple vuejs project using IntelliJ and wanted to start using less with it. But after running "npm install -D less less-loader" I'm getting an error and I'm unable ...
0 votes
1 answer
350 views

Some pages of my project use less to render,so I run the npm command to install less and less-loader but find just less can successfully installed,for unknown reason, the less-loader keep falied to ...
1 vote
0 answers
320 views

After upgrade webpack from verstion 3 to 5 I get error with inline load styles. ✖ Mix Compiled with some errors in 2.29s ERROR in ./app/Admin/assets/partials/bootstrapForm/ImageSelector.vue?vue&...
2 votes
1 answer
5k views

I created a new project with the vue cli. This project is a Vue3 with Ant Design, Vue Router and Eslint. However when I give the yarn command it shows me the following warnings. yarn install v1.22.10 [...
6 votes
1 answer
1k views

Any idea of why this webpack.config.js is not setting the global LESS variable: current-vehicle defined on: /resources/scripts/theme.js? /webpack.config.js const merge = require("webpack-merge&...

15 30 50 per page
1
2 3 4

AltStyle によって変換されたページ (->オリジナル) /