Commit Graph

32 Commits

Author SHA1 Message Date
XGHeaven f0c6380b0c
feat: support htmlGeneratingMode option (#7032) 2024-12-12 16:34:48 +08:00
ClarkXia a8a86d8b9c
docs: update api document (#6836) 2024-03-20 16:06:58 +08:00
水澜 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 cf8a78e379
feat: support code splitting strategy of page-vendors (#6386)
* feat: support code splitting strategy of page-vendors

* chore: fix type

* fix: test case
2023-07-17 10:44:15 +08:00
spicylemonhaha f58e0c16d5
feat: enhance dropLogLevel build config (#6376)
* feat: 增强droplog功能

* fix: 修改warn说明

* fix: 补充md文件

---------

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2023-07-07 18:02:56 +08:00
ClarkXia 110b282b47
feat: support user config htmlGenerating (#6346)
* feat: support user config htmlGenerating to control the generation of html

* fix: add warning

* chore: add user config comments

* Update build.ts

* fix: do not render document when template is false

* fix: comments
2023-07-06 10:41:44 +08:00
luhc228 6c62576308
docs: add proxy config desc (#6253) 2023-05-19 14:10:01 +08:00
水澜 51b6df6bb2
docs: compile deps (#6247)
* docs: compile deps

* chore: add caution

* chore: add caution
2023-05-17 14:01:17 +08:00
luhc228 86ff43db66
docs: update externals config (#6226) 2023-05-10 11:18:20 +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 4601c028b5
chore: docs for new feature (#6013)
* chore: docs for new feature

* chore: package link
2023-03-06 15:03:10 +08:00
ClarkXia 071a627dac
feat: support code spiliting strategy (#5957)
* feat: support code spiliting strategy

* fix: optimize code

* fix: compatible with splitChunks

* fix: compatible with splitChunks

* chore: default value chunks

* Update config.md

* Update routes.ts
2023-02-24 17:22:18 +08:00
ClarkXia 23504a77d4
docs: route limit (#5964) 2023-02-23 19:28:32 +08:00
水澜 fb7dd7f394
docs: server external (#5729) 2022-12-26 17:00:53 +08:00
染陌同学 17161f9302
docs: add statit dataLoader (#5737) 2022-12-26 16:50:28 +08:00
luhc228 e339d4a003
optimize route docs (#5610)
* docs: update route config

* docs: get route info

* docs: route redirect

* docs: ignoreFiles in route docs

* docs: $.tsx

* feat: add route tip

* fix: comment
2022-12-07 19:17:17 +08:00
NK 8a60304b0b Fix/miniapp problems (#671)
* fix(miniapp): page load after getAppData

* docs(miniapp): update miniapp-runtime readme

* feat(miniapp): support turn off rpx2vw using enableRpx2Vw

* chore(miniapp): update example

* fix(miniapp): outputDir is wrong in command line

* fix(miniapp): no log in build command

* fix(miniapp): history type

* chore(miniapp): update example

* feat(miniapp): support enableCache to disable cache in miniapp task

* fix(miniapp): throw error if no getConfig function in page component

* feat(miniapp): add params to specify getData and getConfig

* fix(miniapp): getData/getAppData existence situation

* feat(miniapp): normalize route in history

* fix: lint warning

* feat(miniapp): align Link to props and history.push props

* docs(miniapp): add more articles

* feat(miniapp): support nativeConfig in plugin-miniapp

* feat(miniapp): rename getConfig to pageConfig

* feat(miniapp): rename getData to dataLoader

* fix: lint warning

* docs: fix broken links

* docs(miniapp): update miniapp location and relative links

* Update start.md

Co-authored-by: ZeroLing <i@zeroling.com>
2022-11-15 16:31:24 +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 af24b565a1 feat: support postcss user config (#626)
* feat: support postcss in userConfig

* feat: support postcss.config.js

* docs: optimize config

* docs: postcss

* feat: add tailwindcss example

* chore: export postcss

* docs: update postcss

* docs: update browsers desc
2022-11-15 10:33:11 +08:00
ClarkXia 63b5a02335 feat: config polyfill for bowsers support (#652)
* feat: config polyfill for bowsers support

* chore: optimize code

* chore: lock

* chore: test case

* chore: test case

* chore: comment
2022-11-15 10:33:11 +08:00
水澜 5544c79d27 feat: support crossorigin (#649)
* feat: support pass crossorigin

* docs: cross origin loading

* fix: config doc

* docs: add link

* Update config.md
2022-11-15 10:33:11 +08:00
ZeroLing 0faeb9d73b Docs/update (#593)
* docs: add docs for plugin list (#589)

* docs: add docs for plugin list

* docs: update store

* docs: update to ice.js3

* docs: update docs

* docs: update

* docs: update directory (#590)

* docs: ICE to ice.js

* docs: typos

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2022-11-15 10:32:49 +08:00
luhc228 7fe93e3503 feat: ClientOnly component (#542)
* feat: BrowserOnly Component

* docs: BrowserOnly component docs

* docs: optimize

* feat: export useIsBrowser Hook

* feat: useIsBrowser example

* docs: useIsBrowser

* docs: typo

* chore: clientOnly

* feat: ClientOnly and useMounted

* feat: add ClientOnly test

* docs: update docs

* feat: use hooks instead of Context

* chore: import name
2022-11-15 10:32:48 +08:00
ZeroLing 834fc97829 docs: add docs for plugin list (#589)
* docs: add docs for plugin list

* docs: update store

* docs: update to ice.js3

* docs: update docs

* docs: update
2022-11-15 10:32:48 +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
水澜 99d7f37fc5 refactor: generate data-loader only by getData (#514)
* refactor: generate data-loader only by getData

* feat: support config dataloader

* test: disable data-loader

* chore: rename

* docs: data loader

* chore: update lock
2022-11-15 10:32:43 +08:00
水澜 990f7aa552 feat: support inline style for ssr (#518)
* feat: inline style for less

* feat: classname to style

* feat: esbuild inline style

* feat: transform styles

* fix: compat for less module

* fix: less rule

* feat: ignore

* docs: ignore

* refactor: to ts

* test: inline-style

* chore: update lock

* fix: deps

* refactor: enable esbuild inline style loader only in ssr

* fix: validate for ignore plugins

* refactor: to pure functions

* feat: sync syntaxFeatures

* fix: lint

* Update rax-inline-style.test.ts
2022-11-15 10:31:35 +08:00
luhc228 41aee63512 feat: add splitChunks to userConfig (#454)
* feat: add splitChunks to userConfig

* docs: splitChunks

* test: splitChunks test case

* fix: splitChunk test case
2022-11-15 10:27:46 +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 5cc7dc6c2b feat: config transform (#339)
* feat: add transform

* fix: config transform

* docs: config transform
2022-11-14 19:53:32 +08:00
luhc228 d5500abe1e docs: mock config & env reference (#332)
* docs: yh fix

* chore: test

* chore: update docs

* chore: update install website script

* chore: add filter branches
2022-11-14 19:53:31 +08:00
大果 8dec98d0e8 文档 (#203)
* feat: docs directory

* docs: 调整结构

* chore: lock

* feat: update docs

* docs: update assets doc

* 新增文档 for 介绍 and 环境变量 (#307)

* docs: add about

* docs: add docs for env

* docs: update about

* docs: config (#306)

* docs: router (#304)

* docs: router

* feat: getconfig

* docs: get data

* docs: ssg

* docs: ssr

* docs: document

* docs: page

* docs: enable ssr

* fix: title

* Doc/rax compat (#303)

* docs: add docs of rax-compat

* docs: modify doc of rax compat

* Docs: app entry (#301)

* docs: app entry

* docs: app entry

* docs: mock (#245)

* docs: mock

* chore: typo

* chore: title

* docs: styles (#244)

* docs: style

* chore: acss title

* Docs: contributing (#243)

* docs: contributing

* chore: typo

* chore: update contributing docs

* fix: typo

* chore: add putteteer install

* docs: quick start (#235)

* docs: quick start

* chore: update IDE

* chore: update docs

* docs: app directory (#236)

* docs: directory

* chore: document desc

* docs: update website

* docs: update about

* docs: update docs

* chore: update prism

* chore: update docs

* chore: update

Co-authored-by: luhc228 <luhengchang228@126.com>
Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
Co-authored-by: 逆葵 <xianyong.yxy@alibaba-inc.com>
Co-authored-by: ZeroLing <zhuoling.lcl@alibaba-inc.com>
Co-authored-by: ZeroLing <i@zeroling.com>
Co-authored-by: 水澜 <shuilan.cj@taobao.com>
Co-authored-by: 染陌同学 <answershuto@gmail.com>
Co-authored-by: luhc228 <44047106+luhc228@users.noreply.github.com>
2022-11-14 19:47:40 +08:00