Skip to content

[WIP] feat: support environments api #7045

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 27 commits into
base: release/4.0
Choose a base branch
from
Draft

Conversation

XXXMrG
Copy link
Collaborator

@XXXMrG XXXMrG commented Jan 17, 2025

Support environments API:

  • add environments to userConfig
  • new Plugin API: onGetEnvironmentConfig
  • new Plugin API: OnGetBundlerConfig
  • WIP: support mutli devServer

XGHeaven and others added 25 commits December 12, 2024 16:34
去掉默认空数组的赋值,避免 ts 报错
* fix: update es-module-lexer

* fix: ci
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.5.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.5)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/micromatch@4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: change suspense event id

* chore: add missing change set
* feat: last step

* fix: css

* feat: v1

* feat: skip css

* chore: save

* fix: external

* fix: ci

* chore: rm unused diff

* chore: lock

* chore: changeset

* fix: er

* fix: ci

* feat: prepack esbuild-loader

* feat: tsconfig plugin

* chore: lock

* chore: save

* chore: save

* fix: err

* chore: revert format

* chore: revert format

* fix: require is not defined

* fix: banner maybe undefiend

* chore: save

* chore: save

* fix: external node builtin

* chore: save

* fix: target

* chore: save

* fix: chunk and exports

* feat: remove sourcemap comment

* fix: sourcemap path

* fix: assign __quickMode

* feat: provider plugin

* fix: target

* fix: no export

* fix: manifest assets

* feat: add minify

* feat: control minify

* fix: hack replace

* Revert "feat: skip css"

This reverts commit 0557e78.

* feat: disable sourcemap

* fix: jsx importSource

* chore: version

* chore: name

* chore: sae

* chore: save

* chore: sa

* chore: split

* chore: save

* feat: format alias

* fix: alias

* feat: allow userConfig

* chore: version

* fix: err

* chore: save

* feat: support server config

* chore: save

* feat: call in vendor

* fix: runtime and writable

* chore: sync code

* feat: support split by routes

* feat: update Code

* feat: ice/bundles

* fix: type

* fix: err

* chore: rm unused file

* chore: rm unused

* feat: disable chunkFormat

* chore: change back

* feat: change set

* feat: bundle all need plugin and loaders

* chore: changeset

* feat: suppor transformInclude a array

* feat: handle svg and custom esbuild-loader

* feat: support handle assets

* feat: use esbuildMinify

* feat: minify css

* chore: changeset

* chore: changeset

* chore: lock

* chore: merge code

* chore: rm tsconfigpahtsplugin

* feat: init appconfig specify bundler

* feat: reuse css and assets

* chore: rm

* feat: use webpackConfig

* chore: save

* chore: rm unused

* chore: unused

* chore: rm console

* fix: err

* fix: transform inlcude

* chore: updata lock

* chore: change back

* chore: "es-module-lexer": "1.6.0",

* chore: changeset

* chore: change esbuildResult to bundleResult

* fix: use compiled webpack

* fix: provide plugin not works

* chore: changeset

* chore: rm console

* fix: specify target

* fix: differentiate webpackTarget
* chore: update versions

* Update CHANGELOG.md

* Update package.json
* fix: fix svg for transform

* fix: modify transformProps

* fix: hasOwnProperty

* test: modify test

* fix: fix property transform

* feat: support svg for compat

* feat: remove need tranform

* Change the version type from patch to minor in the changeset file

---------

Co-authored-by: Keith <[email protected]>
* chore: update versions

* Update CHANGELOG.md

* Update package.json

* Update CHANGELOG.md
@XXXMrG XXXMrG marked this pull request as draft March 17, 2025 03:16
@XXXMrG XXXMrG changed the title feat: support environments api [WIP] feat: support environments api Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants