external='https://unpkg.com/[email protected]/umd/react.production.min.js', ), # React-dom _Requirement( internal=os.path.join(_vendors, 'react-dom-17-0-2.production.min.js'), dev=os.path.join(_vendors, 'react-dom-17-0-2.development.js'), external= 'https://unpkg.com/[email protected]/umd/react-dom.production.min.js', # noqa: E501 ), # Normalize _Requirement( internal=os.path.join(_vendors, 'normalize-8-0-1.min.css'), external= 'https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css' # noqa: E501 ) ] package = _Package(_package_name, requirements=_vendors_requirements + _ass_to_req(_dist_path, _assets.get('commons', {}), dev_data=_dev.get('commons', {}), dev_path=_dev_path, package_name=_package_name) + _ass_to_req( _dist_path, _assets.get(_name, {}), dev_data=_dev.get(_name, {}), dev_path=_dev_path, package_name=_package_name, ))
from dazzler.system import (Package as _Package, assets_to_requirements as _ass_to_req) from dazzler._assets import ( assets as _assets, assets_dev as _dev, assets_dist_path as _dist_path, assets_dev_path as _dev_path, ) from ._imports_ import * # noqa: F401, F403 from ._imports_ import __all__ _name = 'calendar' _package_name = f'dazzler_{_name}' _components = [] for _c in __all__: _components.append(locals()[_c]) package = _Package(_package_name, components=_components, requirements=_ass_to_req( _dist_path, _assets.get(_name, {}), dev_data=_dev.get(_name, {}), dev_path=_dev_path, package_name=_package_name, ))
from dazzler.system import (Package as _Package, assets_to_requirements as _ass_to_req) from dazzler._assets import ( assets as _assets, assets_dev as _dev, assets_dist_path as _dist_path, assets_dev_path as _dev_path, ) from ._imports_ import * # noqa: F401, F403 from ._imports_ import __all__ _name = 'test' _package_name = f'dazzler_{_name}' _components = [] for _c in __all__: _components.append(locals()[_c]) package = _Package(_package_name, components=_components, requirements=_ass_to_req( _dist_path, _assets[_name], dev_data=_dev[_name], dev_path=_dev_path, package_name=_package_name, ))