ZeroLing
31eb662648
chore: update repo and changelog ( #5618 )
...
* chore: add changelog and docs update
* docs: update docs repo
* Update CHANGELOG.md
2022-11-24 19:11:13 +08:00
ZeroLing
485f775718
Feat/lock version ( #5616 )
...
* refactor: lock file by ice bundles
* fix: using lower case for swc plugin export
2022-11-24 16:45:45 +08:00
ClarkXia
a2687f2356
fix: bump versions of dependencies ( #5598 )
...
* fix: bump versions of dependencies
* fix: update lock
* chore: changelog
2022-11-23 16:39:59 +08:00
ClarkXia
29048eac1c
fix: re-order compilation of redirect import ( #5606 )
2022-11-23 15:06:02 +08:00
ClarkXia
8049e9eb0e
feat: support partial match of redirect import ( #5591 )
...
* feat: support partial match of redirect import
* fix: optimize code
2022-11-22 11:58:28 +08:00
水澜
52eadfb309
feat: redirect imports ( #5590 )
...
* feat: redirect imports
* test: data loader size
* chore: change log
* chore: change log
2022-11-21 17:58:15 +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
ClarkXia
f9a3829e63
fix: rename getConfig as pageConfig ( #684 )
...
* fix: rename getConfig as pageConfig
* chore: optimize code
* fix: type
* fix: optimzie code
2022-11-15 10:33:11 +08:00
ClarkXia
362e6a6d33
fix: lock core-js version by transform import ( #678 )
...
* fix: lock core-js version by transform import
* fix: test case
* fix: test case
2022-11-15 10:33:11 +08:00
ClarkXia
f0e3d570e2
feat: support query loader of raw and url ( #674 )
2022-11-15 10:33:11 +08:00
ClarkXia
6c34133040
fix: add process support for undefined env variables ( #668 )
2022-11-15 10:33:11 +08:00
luhc228
5d1c2b5792
fix: fail to pre-bundle deps ( #660 )
...
* fix: fail to pre bundle deps which has css
* fix: import pre-bundle deps when pre-bundle failed
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
luhc228
6115c12151
feat: read browsers config by postcss-preset-env ( #664 )
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
luhc228
21441d8314
fix: still use cache when config is modified ( #659 )
...
* fix: still use cache when config is modified
* fix: test case
* refactor: remove userConfigPath param
2022-11-15 10:33:11 +08:00
ClarkXia
9f57caffb4
fix: duplicate assets in document output ( #646 )
...
* fix: duplicate assets in document output
* fix: add test case
* chore: typo
2022-11-15 10:33:11 +08:00
ClarkXia
7b1cb86299
refactor: type dependencies ( #638 )
...
* refactor: types dependencies
* chore: types
* fix: tsconfig
* chore: optimize code
* fix: conflict
2022-11-15 10:33:00 +08:00
ClarkXia
c926a0455e
fix: regex rule for different package manager ( #635 )
...
* fix: regex rule for different package manager
* chore: remove log
2022-11-15 10:32:49 +08:00
ClarkXia
e1a63d6982
fix: add assets manifest only in js file ( #637 )
2022-11-15 10:32:49 +08:00
染陌同学
a2ed3968d0
Chore/modify export ( #623 )
...
* chore: modify ExportData to IdentifierData
* chore: add type for addDataLoaderImport
* chore: modify to removeIdentifierData
* chore: add AddDataLoaderImport
* chore: modify exportAlias to alias
* feat: modify generateIdentifier
* chore: modify transformIdentifierToDeclaration
* chore: modify to declaration
* chore: modify addDeclaration
* chore: modify removeDeclaration
2022-11-15 10:32:49 +08:00
luhc228
cf1b165904
fix: log error stack when transform error ( #618 )
...
* fix: log error stack when transform error
* fix: compat with unplugin and webpack transform error
2022-11-15 10:32:49 +08:00
ClarkXia
6ed23cadb4
chore: update test config ( #584 )
2022-11-15 10:32:48 +08:00
ClarkXia
4e954de8f3
fix: optimize html output ( #569 )
...
* fix: optimize html output
* fix: test case
* fix: optimize code
2022-11-15 10:32:43 +08:00
ClarkXia
69bc9dca08
Refactor: plugin for develop miniapp ( #582 )
...
* refactor: add plugin for miniapp development
* fix: format plugin
* fix: update build-scripts
* fix: generator api
2022-11-15 10:32:43 +08:00
luhc228
2a3dc7d547
fix: css chunk filename ( #578 )
...
* fix: css-chunk-filename
* fix: chunkFilename same as filename logic
2022-11-15 10:32:43 +08:00
ClarkXia
6d9e6b69f7
chore: update @swc/core for stable minify ( #563 )
...
* chore: update @swc/core for stable minify
* fix: lock plugin version
* chore: update lock
* fix: route type
* fix: lint
2022-11-15 10:32:43 +08:00
ClarkXia
a0ab5b0d31
feat: optimize dependencies ( #544 )
...
* fix: optimize dependencies
* fix: optimize dependecies
* fix: update lock
* fix: remove ts which packed
* fix: loader-utils
2022-11-15 10:32:43 +08:00
ClarkXia
a76855e929
fix: get assets mainfest from compilation ( #534 )
...
* fix: get assets mainfest from compilation
* fix: mark as virtual module
* chore: optimize code
* chore: optimize code
* fix: optimize code
* chore: optimize code
* chore: remove dead code
2022-11-15 10:32:43 +08:00
NK
3e031c477b
feat: miniapp ( #333 )
...
* feat(miniapp): use platform in cli to generate miniapp code
* fix: lint error
* feat(miniapp): add miniapp project
* chore: revert example code
* chore: optimize code
* feat(miniapp): migrate some packages to ice
* feat(miniapp): update swcOptions for miniapp
* chore(example): add more pages
* feat(miniapp): add miniapp runClientApp
* feat(miniapp): update compile config for miniapp
* feat(miniapp): support get app and routes config in compile
* fix(miniapp): lint warning
* feat(miniapp): support routeData/routeConfig and reduce size
* fix: lint warning
* fix: lint warning
* feat(miniapp): support global css and page css
* feat(miniapp): support css modules
* feat(miniapp): support copying assets in public dir
* feat(miniapp): support Link and getSearchParams
* feat(miniapp): use index.ts.ejs as template
* feat(miniapp): support passing params in Link
* feat(miniapp): support history in miniapp
* fix(miniapp): build without compiling server bundle
* fix(miniapp): use getRoutesConfig
* feat(miniapp): support build options like outputDir
* chore(miniapp): update miniapp examples
* feat(miniapp): support html tags
* feat(miniapp): remove taro related code
* fix(miniapp): some cases
* fix(miniapp): use require.resolve to get page loader
* chore(miniapp): update lock
* fix(miniapp): page loader check this name
* chore(miniapp): add devDependencies
* chore: update index ejs template
* refactor(miniapp): update multiple platforms logic in ice
* chore: lock regenerator-runtime version
* chore(miniapp): add ali miniapp build command
* fix(ice): set default value of platform to web
* fix(runtime): remove duplicated denpdencies
* chore: set default value of platform to web
* feat(miniapp): registerSerialization when plugin activated
* test(miniapp): suit for vitest
* chore(miniapp): add webpack-sources to bundles
* chore: clean code
* chore(miniapp): remove jest config file
* fix: lint error
* fix: add default value of outputDir
* refactor(miniapp): remove openBrowser from logMessage
* chore(miniapp): remove unnecessary ts-ignore
* fix: type error
* chore(miniapp): rename Adapter to adapter
* chore(miniapp): update interface name
* refactor: use plugins to support miniapp
* chore(miniapp): update example name
* fix: update dependencies
* feat(miniapp): add platform check in cli
* chore: update lock
* fix: remove useless platform option
* fix: lint warning
* fix: lint warning
* test: use src code in tests
* chore(miniapp): remove ||= operators
* fix(miniapp): exclude miniapp-runtime esm code
* fix(ice-cli): update platform for build command
2022-11-15 10:32:43 +08:00
ZeroLing
0b79159339
Fix/unplugin ( #527 )
...
* fix: remove the error code
* fix: judge if this is not undefined
2022-11-15 10:31:14 +08:00
水澜
3423f79b12
Feat keep export ( #501 )
...
* feat: keep export
* fix: empty module
* feat: filter export only for routes entry
* fix: compat for source not exist
* fix: remvoe top expr by swc
* chore: upgrade swc plugin
* chore: update lock file
Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2022-11-15 10:30:56 +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
d0bb41ffec
fix: default value of compilation ( #499 )
...
* fix: default value of compilation
* fix: get default value
2022-11-15 10:30:37 +08:00
ClarkXia
504203ab88
feat: support swc minification ( #493 )
...
* feat: support swc minification
* chore: optimize config
* fix: minify config
2022-11-15 10:30:37 +08:00
ClarkXia
9ad5e5b5c1
feat: pre bundle dependencies ( #466 )
...
* feat: precompile unplugin
* feat: prebundle mini-css-extract-plugin
* chore: update lock
* chore: update webpack version
* chore: update dependencies
* chore: update terser version
* fix: update lock
* fix: prepack webpack-dev-server
* feat: prebundle react-refresh-webpack-plugin
* fix: optimize code
* fix: prepack
* fix: source map error
* fix: update scripts
2022-11-15 10:30:00 +08:00
ClarkXia
2b00899d5d
feat: automatic JSX transform of esbuild ( #490 )
...
* fix: jsx transform of esbuild
* fix: jsx transform
* chore: optimize code
2022-11-15 10:29:03 +08:00
luhc228
3a80e101f0
chore: upgrade unplugin version to fix sourcemap type ( #489 )
...
* chore: upgrade unplugin version to fix sourcemap type
* chore: remove debugger
2022-11-15 10:28:11 +08:00
luhc228
e9ba81694d
fix: incorrect sourcemap ( #457 )
...
* fix: incorrect sourcemap
* fix: can not require esm module
* fix: not compile user's transform
* chore: remove require.resolve dir
2022-11-15 10:27:46 +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
水澜
f384a2043d
fix: remove component in csr ( #486 )
...
* fix: remove component in csr
* fix: keep export default for app
* fix: should load route modules first to get config
2022-11-15 10:27:46 +08:00
luhc228
47738dca66
fix: rax project ssr failed ( #467 )
...
* fix: prebundle alias
* fix: rax multiple version
* fix: test case
* chore: rename param
2022-11-15 10:27:46 +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
水澜
e51f296269
fix: assets order ( #470 )
...
* fix: assets order
* fix: delete anotation
* fix: page assets should load before entry assets
2022-11-15 10:27:18 +08:00
ClarkXia
26a204945a
fix: import css from node_modules ( #482 )
2022-11-15 10:27:18 +08:00
ClarkXia
2dbe97a76f
fix: lock regenerate-runtime path ( #462 )
2022-11-15 10:27:18 +08:00
luhc228
02eba057c3
refactor: optimize ssr error stack ( #422 )
...
* chore: add consola to runtime
* chore: format build failure
* fix: webpack error stack
* chore: remove formatBuildFailure
* chore: remove consola
* feat: optimize server compile log
* chore: remove try catch
2022-11-15 10:27:16 +08:00
ClarkXia
78e876ddb6
feat: lazy compilation ( #215 )
...
* feat: support lazy compilation
* feat: support exprimental
* fix: optimize code
* chore: optimize code
* chore: update lock
2022-11-15 10:24:43 +08:00
ClarkXia
9a3cde783d
feat: plugin antd ( #421 )
...
* feat: plugin antd
* chore: demo
* chore: update lock
* chore: remove log
* feat: support import style
* fix: compile error
* chore: optimize dependencies
2022-11-15 10:19:56 +08:00
ClarkXia
93b9f70208
feat: swc plugin for keep platform code ( #414 )
2022-11-15 10:15:15 +08:00
ClarkXia
0347c741f8
fix: compile react-router and react-router-dom ( #378 )
2022-11-15 10:15:12 +08:00
ClarkXia
b9b8ccb04f
feat: add transform pipe for esbuild plugin ( #394 )
...
* feat: support pipe transform
* feat: add transform pipe for esbuild plugin
* fix: prebundle
* fix: webpack transform order
* fix: make sure transform is exsist
* feat: support resolveId and load
* fix: resolve id
* fix: return value
* chore: comment
2022-11-15 10:15:12 +08:00
ClarkXia
7c94696aa7
fix: cache root for swc plugin ( #403 )
...
* fix: cache root for swc plugin
* chore: lint
2022-11-15 10:15:12 +08:00
ClarkXia
e000856a7e
fix: the order of transform plugins ( #391 )
2022-11-15 10:15:12 +08:00
ClarkXia
f95eb0b0bf
feat: pass server option to config transform ( #390 )
2022-11-15 10:15:12 +08:00
水澜
00f75371ed
feat: getAppData ( #375 )
...
* feat: getAppData
* fix: remove dead code
* fix: should remove default export for app entry too
* docs: app data
2022-11-15 10:15:12 +08:00
ClarkXia
7661e2967f
fix: merge swc options for sever compiler ( #382 )
...
* fix: merge swc options for sever compiler
* fix: create new object
* fix: lock @swc/core version
* chore: update lock
* fix: compile options
2022-11-15 10:15:08 +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
水澜
1d1bb89778
refactor: swc plugin ( #346 )
...
* fix: basename in faas
* fix: if basename not exist
* refactor: swc plugin
* fix: deps
* fix: plugin path
* fix: swc plugin path
* fix: lock file
* fix: conflict
* fix: transform jsx by default
* feat: const modules
* fix: lock file
* feat: keep platform
* fix: uppercase first letter
* chore: comment for swc config
* revert: prebunlde
* revert: regenerator config
* chore: map from swc is string
* fix: beta version
* test: keep platform
2022-11-15 10:13:53 +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
064e290ec6
feat: optimize log ( #344 )
...
* fix: optimize webpack log
* fix: merge error
* chore: remove log
* chore: optimize log
* chore: optimize code
2022-11-14 19:54:37 +08:00
luhc228
4bf28c6bb5
feat: optimize server compile ( #334 )
...
* feat: support compile server bundle after the webpack compile end
* feat: support watch appConfig
* chore: update .ice to RUNTIME_TMP_DIR
* chore: optimize code
* chore: remove build condition
* chore: remove SERVER_OUTPUT
* chore: remove compileMiddleware
* chore: comment
* fix: outputDir
* fix: comment
* chore: add preBundle option
* feat: pass serverCompileTask to plugin
* fix: get serverCompileTask from extendsPluginAPI
2022-11-14 19:53:48 +08:00
luhc228
b84cd904ab
fix: outputDir ( #289 )
...
* fix: outputDir
* fix: generate error output path
* fix: comment
* chore: remove outputDir config
* chore: remove comment
* fix: build fail
* feat: optimize code
2022-11-14 19:53:32 +08:00
ClarkXia
7d6c987b21
feat: pha ( #337 )
...
* feat: scaffold of pha plugin
* feat: scaffold of plugin pha
* feat: pha
* feat: manifest type
* feat: add types
* feat: add test case
* fix: optimize code and test case
* feat: add example of pha
* chore: remove yml file
* chore: bump dependencies version
* feat: pha plugin
* test: add test case
* chore: update lock file
* chore: update lock file
* chore: rename option
* fix: get multipile manifest
* chore: optimize code
* fix: add url prefix
* feat: compile appConfig for start command
* feat: optimize code
* chore: optimize document
* fix: add customDataSource
* feat: remove top level code
* fix: remove code
* fix: optimize code
* fix: optimize code
* fix: plugin
* fix: plugin order
* fix: pha
* feat: add test case
* fix: files
* fix: lint
* fix: url public for dev
* fix: jsx transform in build
* fix: fallback value
* fix: basename
* fix: minify code
* fix: basename
* fix: basename
* chore: remove log
* fix: generate pha manifest
* fix: path for page item
* fix: route id
* chore: optimize test case
* fix: default basename
* fix: split chart
* fix: regex for url
* fix: default basename
* feat: support full path
* fix: default value of url
* chore: optimize code
* chore: comments
* fix: remove exports
* chore: readme
2022-11-14 19:51:45 +08:00
ClarkXia
7bd95ad70d
Revert "feat: plugin for PHA" ( #336 )
2022-11-14 19:51:16 +08:00
ClarkXia
841ff5964c
fix: remove hmr for data-loader ( #322 )
2022-11-14 19:50:07 +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
luhc228
4cb0acd279
fix: can't generate html when set basename in ssg ( #281 )
...
* fix: ssg basename
* fix: bundle server bundle error
* feat: add fastRefresh config
* chore: add comment
2022-11-14 19:42:44 +08:00
ClarkXia
cc5817938b
feat: pha plugin
2022-11-14 19:25:38 +08:00
ZeroLing
fb72b42ae9
fix: remove event alias
2022-11-14 19:25:28 +08:00
ClarkXia
16b88d947c
chore: bump dependencies version
2022-11-14 19:25:24 +08:00
luhc228
5b651061ae
feat: package watch ( #267 )
...
* feat: package watch
* feat: watch
* chore: remove package watch
* feat: watch and build
* fix: build
* chore: remove prebundle from build
* chore: rename
2022-11-14 19:23:02 +08:00
水澜
d5f44a28a7
fix: hot alias ( #269 )
...
* fix: hot alias
* fix: disable hot for data loader
2022-11-14 19:23:02 +08:00
luhc228
a09352dc89
feat: support modify webpack plugins ( #261 )
2022-11-14 19:23:02 +08:00
水澜
2eac971c1b
feat: data loader shaking ( #246 )
...
* fix: lint
* feat: apply swc transform to esbuild
* chore: updata lock file
* refactor: rename params
* fix: types
* fix: add data loader to entry
* fix: add data loader after runtime
* feat: support config exports for ssr
* fix: conflict
* chore: remove debug info
* fix: transform page entry only
* fix: file extension
* fix: file extension
* revert: document
* fix: side effects
* feat: filter pages without getData
* feat: bundle optimization in dev mod
* refactor: side effects is not needed
* refactor: pass swc options to server compiler
* chore: comment
* refactor: runtime chunk is no more needed
* refactor: render data loader according to manifest
* test: data-loader
* chore: rename
* refactor: jsxTransform
* chore: update swc plugin version
* chore: update lock file
* fix: add jsx dev runtime
* chore: update swc plugin version
Co-authored-by: ZeroLing <zhuoling.lcl@alibaba-inc.com>
2022-11-14 19:22:57 +08:00
ZeroLing
b0ba0b8548
chore: monorepo
2022-11-14 19:20:46 +08:00
ZeroLing
b727c4ded6
chore: move to @ice/runtime/jsx-runtime
2022-11-14 19:20:46 +08:00
ZeroLing
491fcd9b5d
chore: add @ice/jsx-runtime dependency
2022-11-14 19:20:45 +08:00
ClarkXia
ccd97bec33
chore: bump version of react-refresh ( #252 )
2022-11-14 19:20:08 +08:00
luhc228
48e80d9796
feat: support bundle cjs deps ( #250 )
...
* feat: support bundle cjs deps
* refactor: remove esbuild plugin
* chore: delete cache
* chore: log
* chore: defineConfig
* fix: comment
* chore: type
* fix: ICE_CORE_SSG
* chore: remove unless set.add
2022-11-14 19:19:50 +08:00
ClarkXia
563df1f06a
chore: revert
2022-11-14 19:18:59 +08:00
ClarkXia
ecf09cf763
feat: appExport
2022-11-14 19:18:41 +08:00
ZeroLing
2d15e80f47
refactor: support unit for project
2022-11-14 19:17:53 +08:00
luhc228
d76456bbf5
fix: oom in dev ( #234 )
...
* fix: oom in dev
* fix: lint
2022-11-14 19:17:27 +08:00
luhc228
f739ad306e
fix: not compile deps when no set compileDeps ( #233 )
2022-11-14 19:17:27 +08:00
ClarkXia
84cf9bc9ac
fix: improve compile experience ( #232 )
...
* fix: improve compile experience
* chore: optimze code
2022-11-14 19:17:27 +08:00
luhc228
1c1189ef16
fix: webpack/hot alias ( #223 )
...
* fix: webpack/hot alias
* fix: comment
2022-11-14 19:17:27 +08:00
ClarkXia
b10b336514
Refactor service ( #159 )
...
* feat: refactor service
* fix: functional plugin
* fix: getCompilerPlugins
* feat: add log
* fix: refactor webpack compiler
* chore: update lock
* fix: remove useless code
* fix: config type
* chore: rename folder
* chore: optimize code
* fix: mock
* fix: ssr render
* fix: types
* chore: unused vars
2022-11-14 19:17:27 +08:00
ClarkXia
9fa14f3aa2
feat: split chunks ( #163 )
...
* feat: split chunks
* chore: lock
* fix: runtime chunk
* fix: runtimeChunk
2022-11-14 19:17:27 +08:00
luhc228
22e784398a
feat: compile runtime ( #209 )
...
* feat: compile runtime
* feat: ts 4.7
* chore: node to default in exports
* chore: lock
2022-11-14 19:17:27 +08:00
ClarkXia
d1d5912394
fix: hmr failed when reload ( #202 )
2022-11-14 19:17:25 +08:00
ClarkXia
070e707944
feat: serve static assets ( #164 )
...
* feat: server static assets
* chore: update lock
* fix: dev server
* chore: remove log
* fix: middleware order
* chore: lock file
* chore: types
* chore: types
2022-11-14 19:17:25 +08:00
luhc228
6480a214b9
feat: add rpx2vw postcss plugin ( #193 )
2022-11-14 19:17:25 +08:00
luhc228
f9d6b744d9
fix: hmr fail ( #189 )
...
* fix: hmr fail
* chore: comment
2022-11-14 19:17:25 +08:00
水澜
5af5199972
feat: preload data ( #158 )
...
* feat: data loader
* refactor: put load logic to runtime
* feat: pass matched ids
* refactor: reuse initial context
* feat: generate loader template
* fix: name with slash
* fix: name with slash
* feat: throw error
* feat: preload app data
* refactor: initail context to request context
* chore: add comment
* chore: add comment
* fix: type
* fix: merge conflict
* fix: types error
* fix: merge error
Co-authored-by: luhc228 <luhengchang228@126.com>
Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2022-11-14 19:17:10 +08:00
水澜
704247de1e
fix: csr hydrate error ( #176 )
...
* fix: csr hydrate error
* chore: demo for csr
* refactor: update route config
* fix: lint
* chore: update lock yaml
* fix: type
* refactor: pass app to document by context
* fix: lint
* chore: comment
* fix: type
* fix: do not overwrite title if not config
* chore: rename
Co-authored-by: luhc228 <luhengchang228@126.com>
2022-11-14 19:17:10 +08:00
大果
69c7ecb251
feat: support tree-shaking react-router deps when only one route ( #86 )
...
* feat: support tree-shaking react-router deps when only one route
* chore: optimize history API
* fix: typo error
* chore: make esbuild compile @ice/runtime add inject env vars
* chore: make esbuild compile @ice/runtime add inject env vars
* chore: resolve conflict
* feat: mock react-router api when disable router
* feat: env
* fix: test
* feat: support dotenv
* chore: add stringify
* chore: lock build-scripts
* feat: add removeHistoryDeadCode userConfig
* fix: duplicate register of routes
* fix: default value of define
* chore: optimize code
* fix: typo
* chore: upgrade react
* fix: code
* chore: optimize matchRoutes
Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2022-11-14 19:17:06 +08:00
ClarkXia
e75a55bcaf
fix: errors when publish ( #170 )
...
* chore: fix publish version
* fix: alias webpack hot from compiled package
2022-11-14 19:16:51 +08:00
ClarkXia
cfc0860e7c
fix: userConfig of minify ( #165 )
...
* fix: userConfig of minify
* fix: minify options
2022-11-14 19:16:51 +08:00
水澜
97f7388ccf
feat: suspense ssr ( #143 )
...
* feat: suspense ssr
* feat: stream render
* feat: downgrade to document
* feat: support render document only
* fix: typo
* refactor: downgrade for page
* fix: typo
* refactor: piper
* refactor: navigator
* chore: comment
* fix: typo
* feat: add log
* refactor: piper to pipe
* refactor: rename
* feat: log for error
* refactor: pipe in else
* fix: lint
* refactor: rename to pipe
* feat: add downgrade info
2022-11-14 19:16:51 +08:00
ClarkXia
7305be723a
feat: pre bundle for dependencies ( #138 )
...
* feat: rename folder
* feat: bundle scripts
* feat: ncc
* fix: pre bundle
* chore: optimize code
* chore: terser options
* fix: test case
* fix: package fail to pack
* feat: tsChecker and eslint
* chore: ts type
* fix: pack scripts
* fix: same webpack instance (#146 )
* fix: same instance of webpack
* fix: same instance of webpack
2022-11-14 19:16:51 +08:00