You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
883 B
28 lines
883 B
//
|
|
// npm dependencies library
|
|
//
|
|
(function(scope) {
|
|
'use-strict';
|
|
scope.__registry__ = Object.assign({}, scope.__registry__, {
|
|
//
|
|
// list npm modules required in Haxe
|
|
//
|
|
'bootstrap': require('bootstrap'),
|
|
'react': require('react'),
|
|
'react-dom': require('react-dom'),
|
|
'react-bootstrap-typeahead': require('react-bootstrap-typeahead'),
|
|
'react-datetime': require('react-datetime'),
|
|
'leaflet': require('leaflet'),
|
|
'react-leaflet': require('react-leaflet'),
|
|
'react-places-autocomplete': require('react-places-autocomplete'),
|
|
'geolib': require('geolib'),
|
|
'react-router':require('react-router'),
|
|
'react-router-dom':require('react-router-dom'),
|
|
});
|
|
|
|
if (process.env.NODE_ENV !== 'production') {
|
|
// enable React hot-reload
|
|
require('haxe-modular');
|
|
}
|
|
|
|
})(typeof $hx_scope != "undefined" ? $hx_scope : $hx_scope = {});
|