The following template uses webpack in order to provide module support and minification out of the box.
Be sure to have the latest BuildFire CLI installed in your system.
# Download the latest SDK if you haven't already
$ buildfire create
# Once inside the SDK's folder
$ buildfire init webpack <pluginName>
Be sure to be on the SDK's folder while running the following commands
$ buildfire run <pluginName>
- Start the plugin viewer on the selected pluginName
.
$ buildfire build <pluginName>
- Build the selected pluginName