{"library":"oc-external-dependencies-handler","title":"oc-external-dependencies-handler","description":"OC (OpenComponents) external dependencies handler for webpack. Version 1.1.0 is current and stable. This package is a small utility within the OC ecosystem, designed to manage external dependencies in webpack configurations for OpenComponents. It has TypeScript definitions included. Release cadence is low, tied to OC base-templates updates. Differentiators: tightly coupled with OC's component model, not a general-purpose webpack plugin.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install oc-external-dependencies-handler"],"cli":null},"imports":["import handler from 'oc-external-dependencies-handler'","import ExternalDependenciesHandler from 'oc-external-dependencies-handler'","const handler = require('oc-external-dependencies-handler')"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import handler from 'oc-external-dependencies-handler';\n\nconst webpackConfig = {\n  externals: handler(['react', 'react-dom'])\n};\n\nexport default webpackConfig;","lang":"typescript","description":"Shows how to import and use the handler to set webpack externals for OC components.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}