-
-
Notifications
You must be signed in to change notification settings - Fork 8
Rolldown-Vite #84
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
base: main
Are you sure you want to change the base?
Rolldown-Vite #84
Conversation
cf207d1
to
382f440
Compare
commit: |
9ce2683
to
a974a4a
Compare
e056d58
to
fa33494
Compare
`function(dep, importerUrl) { return new URL(dep, importerUrl).href }` | ||
: // If the base isn't relative, then the deps are relative to the projects `outDir` and the base | ||
// is appended inside __vitePreload too. | ||
`function(dep) { return ${JSON.stringify(environment.config.base)}+dep }` |
Check warning
Code scanning / CodeQL
Improper code sanitization
fa33494
to
922ad2d
Compare
Found this PR in the Vite docs. Curious how stable |
51fd297
to
3fc2ac5
Compare
I'd say it would work for basic cases as it is passing most tests through out the ecosystem. |
Co-authored-by: underfin <likui.underfin@gmail.com>
…ons` automatically
Co-authored-by: underfin <likui.underfin@gmail.com> Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
Co-authored-by: Yury <YurySolovyov@users.noreply.github.com>
Co-authored-by: underfin <2218301630@qq.com> Co-authored-by: IWANABETHATGUY <iwanabethatguy@qq.com>
Co-authored-by: IWANABETHATGUY <iwanabethatguy@qq.com>
Co-authored-by: IWANABETHATGUY <iwanabethatguy@qq.com>
Co-Authored-By: Evan You <evan@vuejs.org>
this was not working because of vitejs#19586 (comment) and vitejs#19878
Is there an open issue for this? |
No, there isn't. But checking the code, actually it should work. Feel free to create one if it's not working. |
Description
Current Status
sequential: false
object hooks are not supportedIntended behavior differences
esbuild
needs to be installed manually in the following cases:build.minify: 'esbuild'
transformWithEsbuild
functionprocess.env.ROLLDOWN_OPTIONS_VALIDATION = 'loose'
may need to be set to allow options not supported by rolldownbuild.target
errors: esbuild selects the latest version of it, but that's probably what you intenddefine
does not share reference for objects oxc-project/oxc#7641build.rollupOptions.output.manualChunks
is not supported. please usebuild.rollupOptions.output.advancedChunks
insteadsplitVendorChunkPlugin
is not supportedstructuredClone(bundle)
errors withDataCloneError: #<Object> could not be cloned.
. please clone it withstructuredClone({ ...bundle })
(Build errors with "DataCloneError: #<Object> could not be cloned." usingrollup-plugin-webpack-stats
#128)Known missing features
output.format: 'system'
([Feature Request]: Support for System JS as output format rolldown/rolldown#2387)resolveImportMeta
hook (resolveImportMeta hook implement rolldown/rolldown#1010)preserveEntrySignatures
option /preserveSignatures
inemitFile
([Feature Request]: SupportpreserveEntrySignatures
option /preserveSignatures
inemitFile
rolldown/rolldown#3500)related to native plugins
tsconfig
createResolver
TODO list for me