-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Modern mode still doesn't work on typescript #2609
Comments
Alright, trying to build a minimal repro case |
@LinusBorg Ok so I went and generated a new project with this preset:
Then I copied my package.json and removed packages one by one. Adding I need it included in package.json because I'm sharing some of the components/dependencies with the main app, but I don't want vuepress to mess with my regular vue build. |
Great, can you put the project that you tested it with up on github? Then we can be sure we are doing the same thing. |
Here: https://github.com/archSeer/tsmodern
Search for
Now remove |
I think the typescript tag can be removed since it's a vuepress issue apparently, also maybe I should re-open the issue on the vuepress repo? |
Yes please. Close it here and re-open in their repository. Thanks! |
Version
3.0.4
Node and OS info
latest
Steps to reproduce
yarn build --modern
What is expected?
The -legacy and regular bundle should be different sizes, and the regular one should contain arrow functions.
What is actually happening?
Files are almost identical apart from the sourcemap.
I also can't find the arrow function used anywhere in the modern bundle:
d6d2af5 took a stab at fixing this issue, but it seems to not be resolved.
The text was updated successfully, but these errors were encountered: