Comments (4)
this file is a css file other than a less file and the highlighted variable is a css variable as well.
min(1 * var(--dls-transition-from-y, 0), 0)
is not valid in less by default.
please separate rules for less and css. e.g.,
[
{
test: /\.css$/,
use: [
{
loader: 'style-resources-loader',
options: {
// ...
}
}
],
type: 'css'
},
{
test: /\.less$/,
use: [
'less-loader',
{
loader: 'style-resources-loader',
options: {
// ...
}
}
],
type: 'css'
},
]
or setting the math
option of less.js to parens
{
test: lessRule,
use: [
{
loader: 'less-loader',options: {lessOptions: {math: 'parens'}}
},
{
loader: 'style-resources-loader',
options: {
// ...
}
}
],
type: 'css'
},
from rspack.
Fail to build because node_modules of packages/* are lost.
from rspack.
Fail to build because node_modules of packages/* are lost.
It has been updated. Please take a look
node_modules download address and project start method: https://jzq422bol5.feishu.cn/wiki/Pe7pwcmdaitTBNk18vKcXuQjnth?from=from_copylink
from rspack.
this file is a css file other than a less file and the highlighted variable is a css variable as well.
min(1 * var(--dls-transition-from-y, 0), 0)
is not valid in less by default.please separate rules for less and css. e.g.,
[ { test: /\.css$/, use: [ { loader: 'style-resources-loader', options: { // ... } } ], type: 'css' }, { test: /\.less$/, use: [ 'less-loader', { loader: 'style-resources-loader', options: { // ... } } ], type: 'css' }, ]or setting the
math
option of less.js toparens
{ test: lessRule, use: [ { loader: 'less-loader',options: {lessOptions: {math: 'parens'}} }, { loader: 'style-resources-loader', options: { // ... } } ], type: 'css' },
Thanks a lot
from rspack.
Related Issues (20)
- [Bug]: LazyCompilationBackend header overflow HOT 2
- [Bug]: 迁移至rspack后,原来引入的svg中的viewBox属性被移除了 HOT 4
- [Bug]: v0.7.0 CSS modules styles all missing HOT 14
- [Bug]: v0.7.0 [Error: nul byte found in provided data at position: 804] { code: 'GenericFailure' } HOT 2
- [Bug]: Bug with fonts during local development HOT 4
- [Feature]: update swc to 1.5.11 HOT 1
- [Bug]: CssExtractRspackPlugin: "Uncaught SyntaxError: Invalid Unicode escape sequence" HOT 1
- [Bug]: The webpack compatibility link of rspack website is not found
- [Bug]: Lazy compilation does not recognize require statements with expression HOT 3
- [Bug]: Missing file path when using fork-ts-checker-webpack-plugin in build
- [Bug]: import classes from './index.module.scss', classes is undefined HOT 4
- [Bug]: Panic at runtime: should have module HOT 2
- [Bug]: speed-measure-webpack-plugin not supported HOT 4
- [Bug]: "??=" operator does not work properly in the mobile application HOT 5
- [Bug]: Build is complete without exiting the terminal[exigency!!!] HOT 3
- [Bug]: `lazyCompilation` Error: HookWebpackError: Cannot read properties of undefined (reading 'build time')
- [Bug]: CSS modules with SCSS syntax emits broken styles HOT 3
- [Tracking]: Rspack v1.0
- [Bug]: Rspack Dev Tools Slow
- [Bug]: Order in entrypoints array not respected with chunks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rspack.