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-webpack-config-react-ts

Default predefined webpack configuration for single-spa with react and typescript
https://github.com/paalamugan/single-spa-webpack-config-react-ts

postcss react scss single-spa single-spa-config tailwindcss-config webpack

Last synced: about 5 hours ago
JSON representation

Default predefined webpack configuration for single-spa with react and typescript

Awesome Lists containing this project

README

        

# single-spa-webpack-config-react-ts

## 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-webpack-config-react-ts
```

- Added Below line in your project `webpack.config.js` like,

```js
const {
singleSpaWebpackConfig,
} = require("single-spa-webpack-config-react-ts");

module.exports = singleSpaWebpackConfig(, , );
```

- Added Below line in your project `babel.config.js` like,

```js
const { singleSpaBabelConfig } = require("single-spa-webpack-config-react-ts");

module.exports = singleSpaBabelConfig();
```

- Added Below line in your project `tailwind.config.js` like,

```js
const { singleSpaTailwindConfig } = require("single-spa-webpack-config-react-ts");

module.exports = singleSpaTailwindConfig();
```

- Added Below line in your project `postcss.config.js` like,

```js
const { singleSpaPostcssConfig } = require("single-spa-webpack-config-react-ts");

module.exports = singleSpaPostcssConfig();
```