@omnific/react-scripts 0.1.8 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +0 -7
  2. package/package.json +8 -10
package/dist/index.js CHANGED
@@ -63,7 +63,6 @@ const alias = {
63
63
  const hasJsxRuntime = detectPackage("react/jsx-runtime");
64
64
  const hasTailwind = detectPackage("tailwindcss");
65
65
  const hasSwcHelper = detectPackage("@swc/helpers");
66
- const lessRegex = /\.less$/;
67
66
  const sassRegex = /\.(scss|sass)$/;
68
67
  const cssRegex = /\.css$/;
69
68
  const imageInlineSizeLimit = 1e4;
@@ -193,12 +192,6 @@ function createRspackConfig() {
193
192
  }
194
193
  }
195
194
  },
196
- {
197
- test: lessRegex,
198
- use: getStyleLoaders({ loader: resolvePackage("less-loader") }),
199
- sideEffects: true,
200
- type: "css/auto"
201
- },
202
195
  {
203
196
  test: sassRegex,
204
197
  use: getStyleLoaders({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnific/react-scripts",
3
- "version": "0.1.8",
3
+ "version": "0.2.0",
4
4
  "description": "React app scripts based on Rspack",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -39,28 +39,26 @@
39
39
  "node": ">=22.12.0"
40
40
  },
41
41
  "dependencies": {
42
- "@rspack/cli": "^2.0.8",
43
- "@rspack/core": "^2.0.8",
44
- "@rspack/dev-server": "^2.0.3",
42
+ "@rspack/cli": "^2.1.2",
43
+ "@rspack/core": "^2.1.2",
44
+ "@rspack/dev-server": "^2.1.0",
45
45
  "@rspack/plugin-react-refresh": "^2.0.2",
46
- "@tailwindcss/postcss": "^4.3.1",
46
+ "@tailwindcss/postcss": "^4.3.2",
47
47
  "get-port": "^7.2.0",
48
- "less": "^4.6.6",
49
- "less-loader": "^13.0.0",
50
- "postcss": "^8.5.15",
48
+ "postcss": "^8.5.16",
51
49
  "postcss-loader": "^8.2.0",
52
50
  "pretty-bytes": "^7.1.0",
53
51
  "prompts": "^2.4.2",
54
52
  "react-refresh": "^0.18.0",
55
53
  "sass-embedded": "^1.100.0",
56
54
  "sass-loader": "^17.0.0",
57
- "ts-checker-rspack-plugin": "^1.4.0",
55
+ "ts-checker-rspack-plugin": "^1.5.1",
58
56
  "webpack-merge": "^6.0.1",
59
57
  "@omnific/types": "0.0.7"
60
58
  },
61
59
  "devDependencies": {
62
60
  "@types/prompts": "^2.4.9",
63
- "@omnific/tsconfig": "0.1.1"
61
+ "@omnific/tsconfig": "0.2.0"
64
62
  },
65
63
  "scripts": {
66
64
  "build": "tsdown -c tsdown.config.mjs",