less-loader Questions

3

Solved

In my webpack config, I want to be able to define a global less-variables file which would be included in every less component. With the sass-loader you can supply the following option: loaderOpt...
Domenic asked 29/8, 2018 at 10:23

1

Solved

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...
Modular asked 25/3, 2021 at 3:49

2

Solved

I need to use inline js for my less files, and previously had a webpack config with something like this to enable inline js: module.exports = { ... module: { ... rules: [ ... { test: /\.les...
Yankee asked 11/10, 2019 at 14:29

1

I was getting this error when I moved from less-loader version 6.0.0 to version 6.1.0 when trying to load my Ant Design library into my front-end with Webpack. I wanted to know if anyone else had t...
Samarium asked 8/5, 2020 at 19:11

0

Antd says here that inline javascript should be enabled in less with the javascriptEnabled: true option. However, this option has been deprecated for Less as of version 3.0.0 due to security concer...
Bugbear asked 15/10, 2019 at 15:55

0

I'm building a web platform using Nuxt.Js and Ant as a front-end framework. I saw that it is possible to change the theme of Ant using Less and Less-loader. So I did it before the build with the fo...
Shortstop asked 25/6, 2019 at 15:53

1

I managed to compile my css and less resources („imported“ from javascript) to all-my-LESS|CSS, extract them using ExtractTextPlugin and merge them together with MergeFilesPlugin to combinedStyles....
Vercelli asked 20/9, 2017 at 12:32
1

© 2022 - 2024 — McMap. All rights reserved.