Skip to content
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

add unenv plugin, fix global esbuild options #104

Closed
wants to merge 2 commits into from

Conversation

nitedani
Copy link
Contributor

@nitedani nitedani commented Aug 14, 2024

Added unenv plugin, this allows libraries like telefunc to be used on the edge.
brillout/telefunc#117

Moved default esbuild options inside build function to prevent leaking between builds.

Copy link

vercel bot commented Aug 14, 2024

@nitedani is attempting to deploy a commit to the magne4000's projects Team on Vercel.

A member of the Team first needs to authorize it.

Comment on lines +35 to +46
function getOwnPackagePath() {
const require_ = createRequire(import.meta.url);
// vercel/dist/index.cjs
const resolved = require_.resolve('vite-plugin-vercel');
return path.resolve(
resolved,
// vercel/dist
'..',
// vercel
'..',
);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this work once released?

@nitedani
Copy link
Contributor Author

CI fails here:

        // Maybe this assertion is too strict? Is it prone to race conditions?
        (0, utils_1.assert)(autoImporter.status !== 'RESET');

Rerun?

@nitedani
Copy link
Contributor Author

nitedani commented Aug 14, 2024

This isn't it yet. Telefunc doesn't work with this, we need unenv v2, which only has nightly versions now.

@nitedani nitedani closed this Aug 14, 2024
@nitedani nitedani mentioned this pull request Aug 15, 2024
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.

1 participant