Update for using from NPM registry / webpack