1.0.2 • Published 4 years ago

laravel-mix-remove-flow-types v1.0.2

Weekly downloads
12
License
MIT
Repository
github
Last release
4 years ago

Laravel Mix Remove Flow Types

A laravel-mix wrapper for the remove-flow-types-loader Webpack loader.

Use this extension if you want to use Flow type annotations in your Javascript files.

Installation

# 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.

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

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

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago