0.0.1 • Published 6 years ago

@misk/tabs v0.0.1

Weekly downloads
-
License
-
Repository
github
Last release
6 years ago

Misk Tabs

npm.io 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 your webpack.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 updated package.json list of packages

Releasing