Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paalamugan/single-spa-example-config
Predefined Some Common webpack and other configuration for single-spa with react and typescript
https://github.com/paalamugan/single-spa-example-config
commitlint-config react-ts single-spa single-spa-react tailwind-config wepack wepback-config
Last synced: about 5 hours ago
JSON representation
Predefined Some Common webpack and other configuration for single-spa with react and typescript
- Host: GitHub
- URL: https://github.com/paalamugan/single-spa-example-config
- Owner: paalamugan
- Created: 2022-07-16T12:51:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-16T16:29:40.000Z (over 2 years ago)
- Last Synced: 2024-10-11T23:49:42.360Z (about 1 month ago)
- Topics: commitlint-config, react-ts, single-spa, single-spa-react, tailwind-config, wepack, wepback-config
- Language: JavaScript
- Homepage:
- Size: 181 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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
```sh
yarn add -D @single-spa-example/config
```- Added Below line in your project `webpack.config.js` like,
```js
const {
singleSpaReactWebpackConfig,
} = require("@single-spa-example/config");module.exports = singleSpaReactWebpackConfig(, , );
```- Added Below line in your project `babel.config.js` like,
```js
const { singleSpaReactBabelConfig } = require("@single-spa-example/config");module.exports = singleSpaReactBabelConfig();
```- Added Below line in your project `tailwind.config.js` like,
```js
const { singleSpaTailwindConfig } = require("@single-spa-example/config");module.exports = singleSpaTailwindConfig();
```- Added Below line in your project `postcss.config.js` like,
```js
const { singleSpaPostcssConfig } = require("@single-spa-example/config");module.exports = singleSpaPostcssConfig();
```- Added Below line in your project `commitlint.config.js` like,
```js
const { singleSpaCommitlintConfig } = require("@single-spa-example/config");module.exports = singleSpaCommitlintConfig();
```