@single-spa-example/config
v1.0.0
Published
Predefined Some Common webpack and other configuration for single-spa with react and typescript
Downloads
2
Maintainers
Readme
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>);