feat-flag-loader

1.0.0 • Public • Published

feature flag loader module for webpack

install

npm i -D feat-flag-loader

PS: You need install babel's presets & plugins manually

how to use

rules: [
    {
        test: /\.jsx?$/,
        use: [
            {
                loader: 'feat-flag-loader',
                query: {
                    babelOptions: {
                        presets: ['react', 'es2015', 'stage-0'],
                        plugins: ['transform-decorators-legacy'],
                    },
                    rules,
                },
            },
        ],
    }
]

/feat-flag-loader/

    Package Sidebar

    Install

    npm i feat-flag-loader

    Weekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • ekoneko