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

wrong compile in vue.d.ts type #1004

Closed
pikax opened this issue Apr 20, 2020 · 0 comments
Closed

wrong compile in vue.d.ts type #1004

pikax opened this issue Apr 20, 2020 · 0 comments

Comments

@pikax
Copy link
Member

pikax commented Apr 20, 2020

Version

3.0.0-beta.2

Reproduction link

https://github.com/vuejs/vue-next-webpack-preview

Steps to reproduce

import { compile } from "vue";

What is expected?

compile to be defined or compile not be in vue.d.ts

export declare function compile(template: string | HTMLElement, options?: CompilerOptions): RenderFunction;

What is actually happening?

types are built using src/index but the package.module = dist/vue.runtime.esm-bundler.js


would be nice to have a way to import the full build instead of only runtime.

pikax pushed a commit to pikax/vue-next that referenced this issue Apr 29, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant