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

https://github.com/kipicenko/webpack-assembly

my webpack bundler
https://github.com/kipicenko/webpack-assembly

Last synced: 7 months ago
JSON representation

my webpack bundler

Awesome Lists containing this project

README

          

# My webpack 5 bundler.
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

## Installation

Clone this repo and npm install or yarn install.

### `yarn install` or `npm install`

## Usage

### Development server
```bash
npm start || npm run start
```
or
```bash
yarn start || yarn run start
```
---
### Production build

```bash
npm run build
```

or

```bash
yarn run build || yarn build
```
---
### Development build

```bash
npm run dev
```

or

```bash
yarn run dev || yarn dev
```

Use of svg

1) Import Svg from "arrow.svg" - ( Imported as a React component )
2) Import Svg from "arrow.svg?nc" - ( Will not be imported as a React component )
3) Import Svg from "arrow.svg?url" - ( url-loader replacement and also won't be a React component )