Skip to content

Commit

Permalink
Merge branch 'main' into refactor/node
Browse files Browse the repository at this point in the history
  • Loading branch information
ErKeLost committed Sep 25, 2024
2 parents a379051 + 84d7242 commit 0436688
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Visit [Farm Documentation](https://farmfe.org) to learn more about Farm.

Farm is much faster than similar tool, **20x** faster than webpack and **10x** faster than Vite in the benchmark:

![benchmark](./assets/benchmark-full.png)
![benchmark](https://raw.githubusercontent.com/farm-fe/performance-compare/main/full.png)

See [Benchmark](https://github.com/farm-fe/performance-compare) for details.

Expand Down
8 changes: 8 additions & 0 deletions bench/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# bench

## 1.0.12

### Patch Changes

- Updated dependencies [e17551ad]
- Updated dependencies [4542c3d8]
- @farmfe/core@1.3.23

## 1.0.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion bench/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bench",
"version": "1.0.11",
"version": "1.0.12",
"private": true,
"description": "",
"scripts": {},
Expand Down
1 change: 1 addition & 0 deletions crates/plugin_css/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ impl Plugin for FarmPluginCss {
fn name(&self) -> &str {
"FarmPluginCss"
}

/// This plugin should be executed at last
fn priority(&self) -> i32 {
-99
Expand Down
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"Consolas",
"Convertion",
"consts",
"Convertion",
"cpus",
"csspart",
"ctxt",
Expand Down
2 changes: 1 addition & 1 deletion js-plugins/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"solid-js": "^1.7.8"
},
"peerDependencies": {
"@farmfe/core": "workspace:^1.3.22"
"@farmfe/core": "workspace:^1.3.23"
},
"files": [
"build"
Expand Down
2 changes: 1 addition & 1 deletion js-plugins/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"source-map": "^0.7.4"
},
"peerDependencies": {
"@farmfe/core": "workspace:^1.3.22",
"@farmfe/core": "workspace:^1.3.23",
"less": "*",
"sass": "*",
"stylus": "*"
Expand Down
7 changes: 7 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @farmfe/core

## 1.3.23

### Patch Changes

- e17551ad: support css module name coversion
- 4542c3d8: Temporarily disable the esbuild attribute in the vite plugin

## 1.3.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farmfe/core",
"version": "1.3.22",
"version": "1.3.23",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
Expand Down
6 changes: 6 additions & 0 deletions packages/core/src/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ interface ResolvedCss extends CssConfig {
};
}

interface ResolvedCss extends CssConfig {
modules?: CssConfig['modules'] & {
localsConversion?: never;
};
}

// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface ResolvedCompilation
extends Exclude<Config['config'], undefined> {
Expand Down
18 changes: 6 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0436688

Please sign in to comment.