## Current Behavior Webpack and Rspack currently use `sass` and its Legacy API with `sass-loader`. There is also no method to pass stylePreprocessorOptions other than `includePaths` to the loaders. ## Expected Behavior Switch to using `modern-compiler` api to remove deprecation warnings and improve build performance. Allow users to choose between `sass` and `sass-embedded` for sass compiler implementation. Expand the `stylePreprocesserOptions` interface to accept `includePaths`, `sassOptions` and `lessOptions` that will be passed to the appropriate loader.
69 lines
1.8 KiB
JSON
69 lines
1.8 KiB
JSON
{
|
|
"name": "@nx/rspack",
|
|
"description": "The Nx Plugin for Rspack contains executors and generators that support building applications using Rspack.",
|
|
"version": "0.0.1",
|
|
"type": "commonjs",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/nrwl/nx.git",
|
|
"directory": "packages/rspack"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/nrwl/nx/issues"
|
|
},
|
|
"keywords": [
|
|
"Monorepo",
|
|
"Rspack",
|
|
"Bundling",
|
|
"Module Federation"
|
|
],
|
|
"author": "Jack Hsu",
|
|
"license": "MIT",
|
|
"homepage": "https://nx.dev",
|
|
"main": "src/index.js",
|
|
"generators": "./generators.json",
|
|
"executors": "./executors.json",
|
|
"dependencies": {
|
|
"@nx/js": "file:../js",
|
|
"@nx/devkit": "file:../devkit",
|
|
"@nx/web": "file:../web",
|
|
"@nx/module-federation": "file:../module-federation",
|
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
"@rspack/core": "^1.1.5",
|
|
"@rspack/dev-server": "^1.0.9",
|
|
"@rspack/plugin-react-refresh": "^1.0.0",
|
|
"autoprefixer": "^10.4.9",
|
|
"browserslist": "^4.21.4",
|
|
"css-loader": "^6.4.0",
|
|
"enquirer": "~2.3.6",
|
|
"express": "^4.21.2",
|
|
"ts-checker-rspack-plugin": "^1.1.1",
|
|
"http-proxy-middleware": "^3.0.3",
|
|
"less-loader": "11.1.0",
|
|
"license-webpack-plugin": "^4.0.2",
|
|
"loader-utils": "^2.0.3",
|
|
"sass": "^1.85.0",
|
|
"sass-embedded": "^1.83.4",
|
|
"sass-loader": "^16.0.4",
|
|
"source-map-loader": "^5.0.0",
|
|
"style-loader": "^3.3.0",
|
|
"picocolors": "^1.1.0",
|
|
"postcss-import": "~14.1.0",
|
|
"postcss-loader": "^8.1.1",
|
|
"postcss": "^8.4.38",
|
|
"tslib": "^2.3.0",
|
|
"webpack": "^5.80.0",
|
|
"webpack-node-externals": "^3.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@module-federation/enhanced": "^0.8.8",
|
|
"@module-federation/node": "^2.6.21"
|
|
},
|
|
"nx-migrations": {
|
|
"migrations": "./migrations.json"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|