Misk Tabs
This package provides Webpack externals for Misk tabs exported in the format @misktabs/{unique tabname}
.
Getting Started
$ yarn add @misk/tabs
-
Use
@misk/tabs
externals to give access in Webpack repos to tabs libraries not locally installed. Add the following to yourwebpack.config.js
.const MiskCommon = require('@misk/common') const MiskTabs = require('@misk/tabs') ... module.exports = { mode entry ... externals: { ...MiskCommon.externals, ...MiskTabs.externals }, }
Tabs
@misktabs/config
Contributing
#Adding a new tab
- Add package to window variable mapping to
src/externals.ts
- Update
README.md
with a copy of the updatedpackage.json
list of packages