3 # STANDARD_RIFT_IO_COPYRIGHT
6 # change to the directory of this script
7 THIS_DIR
=$
( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
11 echo 'Building plugin '$PLUGIN_NAME
12 echo 'Fetching third-party node_modules for '$PLUGIN_NAME
14 echo 'Fetching third-party node_modules for '$PLUGIN_NAME'...done'
15 echo 'Packaging '$PLUGIN_NAME' using webpack'
16 ui_plugin_cmake_build
=true .
/node_modules
/.bin
/webpack
--optimize-minimize --progress --config webpack.production.config.js
17 echo 'Packaging '$PLUGIN_NAME' using webpack... done'
18 echo 'Building plugin '$PLUGIN_NAME'... done'