How to use
For example, in your project, we recommend you to put your assets in the path such as
"./src/assets/". Including but not limit to
"png","jpg","jpeg". This extension will create an index file named
assets.js, containing all of the assets path and resources exportation filtered by the
Ctrl+Shift+P to open the command line in vscode. And next, type the
Build Assets command and press
- Put a
logo.png into the assets path:
- Enter the
Build Assets command and see how we do:
// This file is created by xyf-resourceindexer
import logoPng from "./logo.png";
Preferences & Settings
Initial release of basic command "Build Assets".
Fix the console output and put some message on it.
Fix some grammar in README.md.
Fix the engines to "^1.8.0".
Fix the assets.js file we output.
For more information