ClarkXia
d77e216f3a
chore: update versions ( #6202 )
2023-05-09 14:20:53 +08:00
luhc228
0d54977961
fix: read the same task target ( #6221 )
...
* fix: read the same target
* chore: changeset
2023-05-09 11:54:29 +08:00
ClarkXia
b226e3566f
fix: bump @swc/helpers to 0.5.1 ( #6213 )
...
* fix: bump @swc/helpers to 0.5.1
* fix: cjs path of @swc/helpers
* fix: test case
2023-05-08 19:44:59 +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
luhc228
28de278f7f
feat: support match target entry to bundle ( #6200 )
...
* feat: support match target entry to bundle
* chore: changeset
2023-04-27 12:00:59 +08:00
逆葵
6f7a47e0b4
chore: update dependencies version
2023-04-25 10:49:28 +08:00
NK
71bd7926a2
feat: upgrade esbuild version to v0.17 ( #6146 )
...
* feat: upgrade esbuild version to v0.17
* chore: update lock file && add registry
* fix: lint warning
2023-04-20 16:31:33 +08:00
ClarkXia
5dd3c86ed7
Refactor: use swc plugin to remove code ( #6144 )
...
* refactor: use swc plugin to remove code
* chore: update version
2023-04-18 17:01:37 +08:00
ClarkXia
48c40ea04e
chore: update versions ( #6128 )
2023-03-31 11:14:01 +08:00
ClarkXia
be9816f996
chore: update versions ( #6089 )
...
* chore: update versions
* Update CHANGELOG.md
* Update CHANGELOG.md
2023-03-30 13:22:49 +08:00
水澜
4e1d906560
fix: resue route paths ( #6074 )
...
* refactor: resue route paths
* chore: add changeset
* fix: type
* refactor: don't pass data cache
* fix: lint
* fix: should include layout file
2023-03-29 19:34:06 -07:00
luhc228
97f8a80142
feat: disable compress config in dev server for streaming render ( #6116 )
...
* feat: disable compress config in dev-server
* chore: changeset
2023-03-28 17:02:50 +08:00
ClarkXia
ee4141d5c3
chore: update dependencies ( #6026 )
...
* chore: update dependencies
* chore: remove empty line
* chore: update swc version
* Revert "chore: update swc version"
This reverts commit 47c62bbe56 .
* fix: update lock
* chore: update lock
* fix: bump @swc/core and swc plugins version
* chore: update changelog
* chore: update changelog
* fix: update lock
2023-03-21 17:00:31 +08:00
ClarkXia
2f50802691
chore: update versions ( #6080 )
2023-03-20 10:34:36 +08:00
ClarkXia
4a73cb2ad2
fix: redirect named import ( #6061 )
...
* fix: redirect named import
* fix: test case
* fix: redirect request
* test: redirect request
* chore: add changeset
* feat: support get exports by target
* fix: type
---------
Co-authored-by: shuilan.cj <shuilan.cj@taobao.com>
2023-03-17 17:29:55 +08:00
ClarkXia
b119e346e7
chore: update versions ( #6005 )
...
* chore: update versions
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
2023-03-16 13:29:42 +08:00
ClarkXia
021ceb91c0
fix: remove resolve field of jsnext:main ( #6045 )
...
* fix: context replacement for moment
* fix: regex rule
* fix: changelog
* fix: optimize webpack config
* fix: optimize webpack config
* fix: optimize code
2023-03-13 17:44:21 +08:00
ClarkXia
0096f5c01e
fix: make sure server env variable is always false ( #6002 )
2023-03-10 10:01:13 +08:00
ClarkXia
18ea5b2dbf
fix: enable hmr to avoid reload ( #6004 )
...
* fix: enable hmr to avoid reload
* Update entry.client.tsx.ejs
* fix: changelog
* fix: config
* fix: optimize code
2023-03-03 18:03:53 +08:00
github-actions[bot]
e3ca513f56
chore: update versions ( #5949 )
...
* chore: update versions
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2023-03-02 13:55:59 +08:00
ClarkXia
56fb406e8a
fix: import path of types and runtime ( #5981 )
...
* fix: import path of types and runtime
* chore: package.json
* chore: add changelog
* fix: typings
* fix: type declare
2023-02-28 15:08: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
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
github-actions[bot]
a20807b473
chore: update versions ( #5930 )
...
* chore: update versions
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2023-02-20 11:15:53 +08:00
ClarkXia
c893a64a1c
chore: changeset config ( #5909 )
...
* chore: reset version
* fix: changeset
* chore: publish beta
* chore: update pre
* chore: custom version
* chore: remove test
* fix: version
* chore: test case
* chore: version
* fix: reset changelog
* fix: update lock
* fix: changelog
* chore: release beta version
* chore: add changeset
* chore: release beta version
* chore: update @ice/app version
* chore: update version and lock
---------
Co-authored-by: luhc228 <luhengchang228@126.com>
2023-02-16 16:11:49 +08:00
ClarkXia
7705f2fd89
fix: exclude rule of compilation and load compile target ( #5906 )
...
* fix: compilation options
* fix: regexp
* chore: changelog
* fix: optimize code
2023-02-15 19:09:41 +08:00
ClarkXia
5f6878ce4c
fix: the value of isServer when compile dataLoader ( #5897 )
...
* fix: the value of isServer when compile dataLoader
* Update getCompilerPlugins.ts
---------
Co-authored-by: ZeroLing <i@zeroling.com>
2023-02-13 16:21:43 +08:00
ClarkXia
537d154899
fix: optimize webpack config ( #5891 )
...
* fix: optimize webpack config
* chore: version
* fix: lock file
2023-02-13 14:58:06 +08:00
luhc228
db495382b2
feat: use changeset to publish and version ( #5864 )
...
* feat: add changesets config
* chore: remove version publish scripts
* chore: update ci workflow
* chore: update checkout branch step
* chore: lock
* fix: lost scripts
* fix: ts type error
* chore: remove scripts
* chore: update README
* chore: update lock
* chore: update dependency and script
* chore: remove version check
* chore: add publishConfig to package.json
* chore: update ci step
* chore: update release:beta script
* chore: add private field to examples
* chore: remove registry
* chore: update lock
* chore: update ci workflow
* chore: update workflow
* chore: update README
* chore: update changeset README
* chore: update cache key
* feat: update cache
* chore: update cache config
2023-02-13 14:48:34 +08:00
ClarkXia
39b181d54d
chore: changelog ( #5849 )
2023-02-02 17:45:34 +08:00
染陌同学
1b1b2bbb09
Feat/support dynamic data loader pha ( #5808 )
...
* feat: add dynamicDataLoaders
* feat: support dynimic dataLoader in PHA
* feat: remove dynamicDataLoaders
* feat: add swc config
* fix: should get key from detail
* chore: modify type
* feat: support dev server
* fix: don't remove app-worker.ts
* chore: add build-script
* chore: remove log
* chore: dealwith cr
* fix: should checkout dataloaderConfig
* chore: update lock
* chore: remove keepPlatform
* chore: modify type
* chore: update lock
* fix: modify ejs
* chore: dealwith warning
2023-02-02 15:59:54 +08:00
ZeroLing
acfc88427e
fix: dynamic import works in app.tsx ( #5840 )
...
* fix: dynamic import works in app.tsx
* fix: test case
* chore: update depenedency version of @ice/webpack-config
* chore: pnpm lock up-to-date
2023-02-02 14:22:35 +08:00
ZeroLing
28d250860e
Using alias + generate template to replace keepPlatform impl ( #5710 )
...
* feat: modify generateHtml to generateEntry
* feat: support entry
* chore: update lock
* feat: support extra script
* feat: add config for entry
* feat: support entryType
* feat: add documentToJs
* feat: remove ejs to template
* chore: modify entry to output
* feat: add dom render
* chore: update lock
* chore: should publish templates
* feat: modify type and merge config
* feat: remove setConfig for output
* chore: modify jsOutput
* feat: add paths of outputs
* fix: should get data when after.start.compile
* feat: support dev
* feat: modify dist type
* chore: modify htmlOutput
* fix: modify dirname
* chore: modify dirname
* chore: add type for __ICE__CREATE_ELEMENT
* test: add test for domRender
* feat: add renderToHTML
* chore: modify platform
* feat: support target and renderMode
* fix: test case and renderer
* chore: update lock
* Update build.ts
* chore: add default value to urls
* refactor: constant
* feat: add with weex
* chore: change multi target
* fix: output orders
* fix: build order
* feat: modify disttype
* feat: modify textContent to support styleElement in weex
* fix: dist type javascript
* chore: version change
* fix: merge and versions
* fix: target renderer
* feat: using resolve universal-env
* chore: remove with weex example
* fix: unexpected escape
* fix: add commandArgs defaults for target, rename miniapp platforms to targets
* fix: bundle slash
* fix: add isKraken for env
* fix: compilationConfig type definition
* fix: keepPlatform
* fix: test case
* fix: make env tree shaking works
* fix: using env replacement plugin
---------
Co-authored-by: answershuto <answershuto@gmail.com>
2023-01-30 12:09:40 +08:00
ZeroLing
9f2ee217c2
Merge branch 'release/3.0' into release/3.1.0
2023-01-12 13:57:41 +08:00
ZeroLing
0817129fd3
Fix/rax-compat jsx runtime ( #5803 )
...
* fix: jsx runtime for rax-compat
* fix: optional children
* fix: array key validation
* fix: eslint check
* fix: add default commandArgs target
* fix: createElement children args
* docs: add changelog and bump version
2023-01-12 12:04:06 +08:00
ClarkXia
b551b33e33
chore: changelog ( #5813 )
...
* chore: changelog
* chore: version
2023-01-11 18:41:37 +08:00
ZeroLing
08e1eed8fc
Refactor part of web plugin into common logic. ( #5807 )
...
* feat: modify generateHtml to generateEntry
* feat: support entry
* chore: update lock
* feat: support extra script
* feat: add config for entry
* feat: support entryType
* feat: add documentToJs
* feat: remove ejs to template
* chore: modify entry to output
* feat: add dom render
* chore: update lock
* chore: should publish templates
* feat: modify type and merge config
* feat: remove setConfig for output
* chore: modify jsOutput
* feat: add paths of outputs
* fix: should get data when after.start.compile
* feat: support dev
* feat: modify dist type
* chore: modify htmlOutput
* fix: modify dirname
* chore: modify dirname
* chore: add type for __ICE__CREATE_ELEMENT
* test: add test for domRender
* feat: add renderToHTML
* chore: modify platform
* feat: support target and renderMode
* fix: test case and renderer
* chore: update lock
* Update build.ts
* chore: add default value to urls
* refactor: constant
* feat: add with weex
* chore: change multi target
* fix: output orders
* fix: build order
* feat: modify disttype
* feat: modify textContent to support styleElement in weex
* fix: dist type javascript
* chore: version change
* fix: merge and versions
* fix: target renderer
* chore: remove with weex example
* fix: add commandArgs defaults for target, rename miniapp platforms to targets
* fix: bundle slash
Co-authored-by: answershuto <answershuto@gmail.com>
2023-01-11 14:33:14 +08:00
ClarkXia
f827f641b3
fix: bump version of swc plugin (keep-export) ( #5802 )
2023-01-11 11:00:25 +08:00
ZeroLing
f46d0e7204
feat: support target and renderer ( #5700 )
...
* feat: support target and renderMode
* fix: test case and renderer
* Update build.ts
* refactor: constant
* fix: eslint
* fix: remove empty line
* fix: remove useless code
* feat: add import.meta.env
* fix: type webpack
* fix: server compiler defines
2023-01-06 15:07:39 +08:00
ClarkXia
bbabb0ebd5
chore: tag version ( #5760 )
...
* chore: tag version
* chore: lock
2022-12-27 17:07:56 +08:00
luhc228
2d26e96790
refactor: log ( #5733 )
...
* chore: log error stack
* feat: namespace logger
* fix: log level
* chore: changelog
* fix: log with no extra info
Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2022-12-27 15:48:28 +08:00
luhc228
b7d4f06852
fix: do not compile data-loader to lower es version ( #5758 )
...
* fix: not use swc to compile data-loader
* chore: changelog
2022-12-27 14:48: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
815e072aa4
fix: reduce code size by externalHelpers ( #5730 )
2022-12-27 09:50:41 +08:00
ClarkXia
2ecbf0dd3b
fix: support node 18.x ( #5727 )
...
* fix: support node 18.x
* chore: version
* chore: changelog
2022-12-26 19:06:25 +08:00
ClarkXia
6892bca40b
feat: update esbuild and refactor server compiler ( #5708 )
...
* feat: upate esbuild and refactor server compiler
* fix: update lock
* fix: lock
* fix: log level
* feat: support incremental compile
* chore: optimize code
2022-12-20 15:44:46 +08:00
luhc228
e041933de4
fix: optimize log ( #5688 )
...
* fix: process exits directly when has error
* fix: log duplicated log on server compiler
* fix: can not start dev server
* chore: add error log
* chore: version and changelog
* chore: version
Co-authored-by: ZeroLing <i@zeroling.com>
2022-12-14 20:17:16 +08:00
ClarkXia
f7e2f90d5b
fix: rule of page chunk name ( #5662 )
...
* fix: rule of page chunk name
* fix: format asset-manifest.json
* chore: changelog
* fix: update lock
2022-12-08 11:06:45 +08:00
ClarkXia
497b1f333f
fix: config polyfill of usage ( #5663 )
...
* fix: config polyfill of usage
* test: add test case
* fix: compatible with win32
* test: test case
2022-12-08 10:21:01 +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
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