mirror of
https://github.com/jia6y/flomo-to-obsidian.git
synced 2026-07-22 07:40:28 +00:00
typo update
This commit is contained in:
parent
c8e94d2df7
commit
0143e038c6
3 changed files with 43 additions and 25376 deletions
42
esbuild.config.mjs
Normal file
42
esbuild.config.mjs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
import esbuild from "esbuild";
|
||||
import process from "process";
|
||||
import builtins from 'builtin-modules'
|
||||
|
||||
const banner =
|
||||
`/*
|
||||
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
||||
if you want to view the source, please visit the github repository of this plugin
|
||||
*/
|
||||
`;
|
||||
|
||||
const prod = (process.argv[2] === 'production');
|
||||
|
||||
esbuild.build({
|
||||
banner: {
|
||||
js: banner,
|
||||
},
|
||||
entryPoints: ['main.ts'],
|
||||
bundle: true,
|
||||
external: [
|
||||
'obsidian',
|
||||
'electron',
|
||||
'@codemirror/autocomplete',
|
||||
'@codemirror/collab',
|
||||
'@codemirror/commands',
|
||||
'@codemirror/language',
|
||||
'@codemirror/lint',
|
||||
'@codemirror/search',
|
||||
'@codemirror/state',
|
||||
'@codemirror/view',
|
||||
'@lezer/common',
|
||||
'@lezer/highlight',
|
||||
'@lezer/lr',
|
||||
...builtins],
|
||||
format: 'cjs',
|
||||
watch: !prod,
|
||||
target: 'es2018',
|
||||
logLevel: "info",
|
||||
sourcemap: prod ? false : 'inline',
|
||||
treeShaking: true,
|
||||
outfile: 'main.js',
|
||||
}).catch(() => process.exit(1));
|
||||
|
|
@ -144,7 +144,7 @@ export class ImporterUI extends Modal {
|
|||
|
||||
new Setting(contentEl).setName('Experimental Options').setDesc('set experimental options')
|
||||
|
||||
const allowBiLink = createExpOpt(contentEl, "Convert bidirectonal link. example: [[abc]")
|
||||
const allowBiLink = createExpOpt(contentEl, "Convert bidirectonal link. example: [[abc]]")
|
||||
|
||||
allowBiLink.checked = this.plugin.settings.expOptionAllowbilink;
|
||||
allowBiLink.onchange = (ev) => {
|
||||
|
|
|
|||
25375
main.js
25375
main.js
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue