npm.io
0.0.1 • Published 8 years ago

@misk/tabs

Licence
Version
0.0.1
Deps
1
Size
15 kB
Vulns
0
Weekly
0
Stars
471
DeprecatedThis package is deprecated

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 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