- Since 2.0.0 , build use webpack way but sample.js is still minified using node.
Provides File.init() to initialise File plugin just after editor isready.
This script will add 3 nice Fa icons buttons Clear(or open Url), Open and Save on SoSIE's Menubar for you,
Add a line in either your example.html, after the script-loader line in the loadPlugins section
/**
* Plugins
*/
await loadPlugins([
{'sosie-js/script-loader@3.0.0': '[example/plugins/script-loader](https://github.com/sosie-js/script-loader)'}, //virtual , already loaded we keep a version trace here
{'sosie-js/file-plugin@2.0.0': ['[example/plugins/file-plugin](https://github.com/sosie-js/file-plugin)',['dist/bundle.js','dist/sample.js']]},
],nocache,mode,target);To produce the dist/bundle.js for production use the command:
yarn build