Commit Graph

18 Commits

Author SHA1 Message Date
水澜 78f850fa67
feat: hash only css modules (#6289)
* feat: hash only css modules

* fix: type

* docs: css modules hash only

* chore: add changeset

* refactor: support localIdentName

* chore: add todo
2023-09-20 15:17:28 +08:00
ClarkXia ed4ed7ee7a
hotfix: auto polyfill for abortcontroller (#6301)
* fix: auto polyfill for abortcontroller

* fix: polyfill

* feat: changelog

* fix: lint

* fix: optimize code

* fix: signal
2023-06-07 11:26:01 +08:00
luhc228 6e9c822af8
fix: define config (#6198)
* chore: remove useless define variables

* chore: remove useless define variables

* fix: server define config

* chore: changeset

* chore: update comment

* fix: define variables in onDemand server

* docs: update define config

* fix: test

* chore: update test case

* fix: process.env variable
2023-05-08 12:04:07 +08:00
ClarkXia 1b6c57832a
feat: on-demand compilation for server (#5824)
* feat: node runner

* feat: node transform

* fix: unexpected modification

* fix: node runner

* test: test case

* test: test case

* test: test case

* fix: add dependencies

* fix: optimize code

* feat: server runner

* feat: optimize code

* fix: test case

* fix: test case

* feat: support on demand pre bundle

* chore: lint warning

* fix: optimize code

* fix: compile options

* fix: optimize code

* fix: add file

* fix: optimize code

* fix: test case

* fix: optimize code

* fix: test

* fix: compile target

* fix: optimize code

* fix: lint

* fix: optimize code
2023-02-22 12:17:31 +08:00
ClarkXia 7b686f4f82
fix: default value of ssr (#5805)
* fix: default value of ssr

* fix: test case

Co-authored-by: ZeroLing <i@zeroling.com>
2023-01-10 22:47:24 +08:00
ClarkXia 8b98d8a8cc
refactor: server bundle alias (#5736)
* fix: refactor server bundle alias

* chore: update lock

* fix: test case

* fix: test case

* chore: changelog

* fix: optimize code

* fix: compatible with win32

* fix: compatible with win32

* fix: compatible with win32

* fix: optimize code

Co-authored-by: ZeroLing <i@zeroling.com>
2022-12-27 10:58:18 +08:00
ClarkXia 6e28b672a1
fix: load env before resolve user config (#5665)
* fix: load env before resolve user config

* chore: changelog

* chore: add env file

* Delete ice.config.mts.mjs

Co-authored-by: ZeroLing <i@zeroling.com>
2022-12-08 10:11:43 +08:00
ClarkXia 46ddc52428
fix: format core-js path (#5648)
* fix: format core-js path

* chore: test

* chore: update version

* fix: remove path import
2022-12-06 14:31:35 +08:00
ZeroLing d2c7e0696d chore: optimize (#676)
* chore: optimize with rax-compat docs

* refactor: add mock express types dependency

* refactor: change usage for definePageConfig

* chore: change docs

* docs: ICE to ice.js

* fix: templorary remove the type

* chore: handle with lint problems

* fix: lock file
2022-11-15 10:33:11 +08:00
luhc228 e88c291ad1 fix: useAuth error (#661)
* chore: example

* chore: with-auth example

* docs: update auth

* test: add with-auth test

* chore: format

* fix: lock
2022-11-15 10:33:11 +08:00
luhc228 bcbf6b5804 feat: support runtime relative path (#537)
* feat: support runtime relative path

* chore: line break

* fix: not compatible with relative path

* feat: support absolute path

* docs: update plugin-dev

* docs: optimize config

* refactor: runtime staticRuntime and name

* fix: type

* chore: remove file path exists check
2022-11-15 10:32:43 +08:00
ClarkXia ad531405a8 test: improve test case (#497)
* test: improve test case

* test: compat win32

* test: test case

* test: add test case

* test: add test case

* test: test case for rax-compat

* test: test case for routes

* fix: types error

* fix: to strict equal

* chore: remove unused props

* fix: types

* test: test case for run client app

* chore: remove empty router

* test: test case of run server app

* chore: remove log

* chore: do not remove file by test case

* fix: remove document dependency when run client app

* chore: lint

* chore: remove config

* fix: lint

* chore: lint warning

* fix: test case

* chore: update unplugin
2022-11-15 10:30:52 +08:00
ClarkXia c0c342d5d5 feat: enhance transform plugins (#502) 2022-11-15 10:30:37 +08:00
ClarkXia 11a58ed9ae fix: compatible with win32 system (#477)
* fix: compatible with win32

* fix: lint

* chore: optimize code

* fix: test case

* fix: build-scripts version

* chore: update version

* chore: update lock file

* feat: add test case of win

* fix: node matrix

* fix: format path

* fix: win32 compatible

* fix: format path
2022-11-15 10:27:42 +08:00
ClarkXia dca51484c2 feat: support syntax feature by user config (#376)
* feat: support sytax feature by user config

* docs: add syntaxFeatures docs

* fix: remove sourcemap of esbuild use swc soucemap instead

* fix: default value of swc options

* fix: merge config
2022-11-15 10:14:38 +08:00
ClarkXia 48603cdf8f feat: support swc options for plugin-rax-compat and onappear on rax-compat (#349)
* feat: support swc options for plugin-rax-compat

* chore: example

* test: fix test case

* test: fix test case

* test: fix test case

* fix: outputdir

* fix: onappear for no ref cases

* fix: merge options

* fix: appear polyfill

* chore: remove appear polyfill dependency

* fix: add swc helpers

* fix: onappear on rax-compat

* refactor: format code and not to use react.frowardRef

Co-authored-by: ZeroLing <zhuoling.lcl@alibaba-inc.com>
2022-11-14 19:55:00 +08:00
ClarkXia 5cc7dc6c2b feat: config transform (#339)
* feat: add transform

* fix: config transform

* docs: config transform
2022-11-14 19:53:32 +08:00
ClarkXia f3fc4c702f fix: type of ice plugin (#302)
* fix: standard for ice plugin

* feat: force mts config
2022-11-14 19:46:53 +08:00