Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Include .flow files in the distributable package #545

@gajus

Description

@gajus

I'd like to able to import the Options type, e.g.

import type {
  Options
} from 'prepack/lib/options.js.flow'

This is to enable type-hinting in https://github.com/gajus/prepack-webpack-plugin.

The current build strips types, or at least I don't see a way to import them.

The way I distribute my packages is using flow-copy-source, e.g. gajus/prepack-webpack-plugin@69c3464

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions