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

Missing vditor/src/ts/i18n/index? #103

Open
xpengineer opened this issue Oct 20, 2024 · 0 comments
Open

Missing vditor/src/ts/i18n/index? #103

xpengineer opened this issue Oct 20, 2024 · 0 comments

Comments

@xpengineer
Copy link

This is the best one. Can we have "outline" button available on the toolbar instead of hiding in "More" like https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-office?

I tried to change it myself, but I got a build error:
[info] $ yarn build
$ yarn esbuild ./src/main.ts --bundle --minify --sourcemap --outfile=../media/dist/main.js
$ D:\rr\gg\vscode-markdown-editor\media-src\node_modules.bin\esbuild ./src/main.ts --bundle --minify --sourcemap --outfile=../media/dist/main.js

src/fix-table-ir.ts:6:21: error: Could not resolve "vditor/src/ts/i18n/index" (mark it as external to exclude it from the bundle)
6 │ import { i18n } from 'vditor/src/ts/i18n/index'

Could you include "how to build" in your Readme? Thanks a lot

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

No branches or pull requests

1 participant