# laravel-mix-remove-flow-types

> A laravel-mix wrapper to strip flow types before processing js files

Latest version **1.0.2** (published 2019-12-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install laravel-mix-remove-flow-types
pnpm add laravel-mix-remove-flow-types
yarn add laravel-mix-remove-flow-types
bun add laravel-mix-remove-flow-types
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2019-12-18 |
| First published | 2019-12-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jan-Oliver Pantel |
| Maintainers | kyjan |

## Links

- npm: https://www.npmjs.com/package/laravel-mix-remove-flow-types
- Repository: https://github.com/janpantel/laravel-mix-remove-flow-types
- Homepage: https://github.com/janpantel/laravel-mix-remove-flow-types#readme
- Issues: https://github.com/janpantel/laravel-mix-remove-flow-types/issues
- npm.io page: https://npm.io/package/laravel-mix-remove-flow-types

## Dependencies (1)

- [remove-flow-types-loader](https://npm.io/package/remove-flow-types-loader.md) ^1.1.0

## Recent versions

- 1.0.2 (latest) — 2019-12-18
- 1.0.1 — 2019-12-12
- 1.0.0 — 2019-12-12

## README

Laravel Mix Remove Flow Types
=============================

A laravel-mix wrapper for the [remove-flow-types-loader](https://github.com/conorhastings/remove-flow-types-loader) Webpack loader.

Use this extension if you want to use [Flow](https://flowtype.org) type annotations in your Javascript files.

## Installation

```bash
# npm
npm install laravel-mix-remove-flow-types --save-dev

# yarn
yarn add laravel-mix-remove-flow-types --dev
```

## Usage

The loader is configured to match all `.js` and `.jsx` files, there is no need to specify files that contain
flow type definitions. Just call the `removeFlowTypes` function somewhere in your `mix` chain.

```javascript
const mix = require('laravel-mix');
require('laravel-mix-remove-flow-types');

mix.removeFlowTypes().js('resources/js/app.js', 'public/js');

```

---
_Source: https://npm.io/package/laravel-mix-remove-flow-types · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
