obsidian-drag-and-drop-blocks icon indicating copy to clipboard operation
obsidian-drag-and-drop-blocks copied to clipboard

Move to esbuild, configure for vscode, configure for build folder output

Open TfTHacker opened this issue 3 years ago • 1 comments

This will optimize your project.

  1. Using ESBUILD. million times faster compile
  2. I think you use vscode like me, this will optimize the git settings
  3. the build goes to a "build" folder, to keep your code and output seperate. I recommend using mklink /j link target on your windows maching to create a symlink from your .obsidian/plugins folder to your build folder. then when you compile there are no files to move (i assume you use hotreload -- if not let me know).
  4. Put in the MIT license file. this is open source dude, get with the program. :-)

TfTHacker avatar Aug 27 '21 04:08 TfTHacker

On other thing, I use a build script to build, so I just have to hit CTRL-Shift+B in vscode. try it.. vscode will walk you through the setup

TfTHacker avatar Aug 27 '21 04:08 TfTHacker