@single-spa-example/config
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Single spa example common configuration

Predefined Some Common webpack and other configuration for single-spa with react and typescript.

Getting started

  • Supported Node Engine
node - v16.12.0
yarn - 1.22.19

How to Use it

  • Install as a node module package like
yarn add -D @single-spa-example/config
  • Added Below line in your project webpack.config.js like,
const {
  singleSpaReactWebpackConfig,
} = require("@single-spa-example/config");

module.exports = singleSpaReactWebpackConfig(<your_organization_name>, <your_project_name>, <customize_webpack_config>);
  • Added Below line in your project babel.config.js like,
const { singleSpaReactBabelConfig } = require("@single-spa-example/config");

module.exports = singleSpaReactBabelConfig(<customize_babel_config>);
  • Added Below line in your project tailwind.config.js like,
const { singleSpaTailwindConfig } = require("@single-spa-example/config");

module.exports = singleSpaTailwindConfig(<customize_tailwind_config>);
  • Added Below line in your project postcss.config.js like,
const { singleSpaPostcssConfig } = require("@single-spa-example/config");

module.exports = singleSpaPostcssConfig(<customize_postcss_config>);
  • Added Below line in your project commitlint.config.js like,
const { singleSpaCommitlintConfig } = require("@single-spa-example/config");

module.exports = singleSpaCommitlintConfig(<customize_commitlint_config>);

Package Sidebar

Install

npm i @single-spa-example/config

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

10.1 kB

Total Files

12

Last publish

Collaborators

  • paalamugan