Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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();
```