-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5583 from alibaba/release/3.0
* chore: version * feat: redirect imports (#5590) * feat: redirect imports * test: data loader size * chore: change log * chore: change log * feat: support partial match of redirect import (#5591) * feat: support partial match of redirect import * fix: optimize code * feat: server external (#5572) * feat: server only external * refactor: alias to resolve * fix: resolve path * fix: type * fix: lint * fix: pass a timeout value for long-running test (#5604) * fix: pass a timeout value for long-running test * fix: configure testTimeout * fix: re-order compilation of redirect import (#5606) * fix: get route config by route id in plugin pha (#5609) * fix: route match of plugin pha * Update manifestHelpers.ts * chore: changelog * feat: support multiple runtime entry of development (#5596) * feat: support multiple runtime entry of development * feat: optimize code * fix: bump versions of dependencies (#5598) * fix: bump versions of dependencies * fix: update lock * chore: changelog * fix: server output files (#5608) * fix: not generate source map file when set sourceMap to true * feat: remove reduplicative server files * fix: comment * fix: test error * feat: path is incorrect in windows * chore: add log * fix: test fail in windows * fix: fail to run in windows * Feat/lock version (#5616) * refactor: lock file by ice bundles * fix: using lower case for swc plugin export * chore: update repo and changelog (#5618) * chore: add changelog and docs update * docs: update docs repo * Update CHANGELOG.md * fix: add temp file to cache dir (#5623) * fix: support custom config file (#5622) * fix: merge context for component(#5630) Co-authored-by: 水澜 <[email protected]> Co-authored-by: luhc228 <[email protected]> Co-authored-by: ZeroLing <[email protected]>
- Loading branch information
Showing
72 changed files
with
1,156 additions
and
568 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
@import "var.scss"; | ||
|
||
.data { | ||
margin-top: 10px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$color-1 : #fff; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Changelog | ||
|
||
## 0.1.1 | ||
|
||
- [fix] Bump version of `@swc/core`(1.3.3 -> 1.3.19), https://github.com/swc-project/swc/issues/6371 | ||
- [fix] Bump version of `caniuse-lite`(^1.0.30001332 -> ^1.0.30001431), postcss requires version upper than 1.0.30001400 | ||
- [fix] Bump version of `webpack`(5.74.0 -> 5.75.0), minor version update | ||
- [add] Add `@ice/swc-plugin-remove-export`(0.1.2) | ||
- [add] Add `@ice/swc-plugin-keep-export`(0.1.3) | ||
- [add] Add `@ice/swc-plugin-keep-platform`(0.1.2) | ||
- [add] Add `core-js`(3.26.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,32 @@ | ||
// reexport for dependencies | ||
import { createRequire } from 'module'; | ||
import { dirname } from 'path'; | ||
import postcss from 'postcss'; | ||
import less from 'less'; | ||
import sass from 'sass'; | ||
import swc from '@swc/core'; | ||
|
||
const require = createRequire(import.meta.url); | ||
const swcPluginRemoveExport = require.resolve('@ice/swc-plugin-remove-export'); | ||
const swcPluginKeepExport = require.resolve('@ice/swc-plugin-keep-export'); | ||
const swcPluginKeepPlatform = require.resolve('@ice/swc-plugin-keep-platform'); | ||
const coreJsPath = dirname(require.resolve('core-js/package.json')); | ||
|
||
export { | ||
postcss, | ||
less, | ||
sass, | ||
|
||
swc, | ||
swcPluginRemoveExport, | ||
swcPluginKeepExport, | ||
swcPluginKeepPlatform, | ||
|
||
coreJsPath, | ||
}; | ||
|
||
export type { ProcessOptions } from 'postcss'; | ||
export type { | ||
Options as SwcConfig, | ||
Config as SwcCompilationConfig, | ||
ReactConfig, | ||
} from '@swc/core'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
# Changelog | ||
|
||
## v3.0.1 | ||
|
||
- [fix] file resolve when use css module in server compiling | ||
- [fix] lock version of `@ice/bundles`, `@ice/webpack-config` and `@ice/route-manifest` | ||
- [feat] support external config for server | ||
- [feat] redirect imports for data loader | ||
|
||
## v3.0.0 | ||
|
||
- [feat] provider basic service for web framework `ice` | ||
- [feat] provider basic service for web framework `ice` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.