@wyw-in-js/webpack-loader
TypeScript icon, indicating that this package has built-in type declarations

0.5.3 • Public • Published

@wyw-in-js/webpack

The package contains WyW-in-JS loader for Webpack.

Installation

# npm
npm i -D @wyw-in-js/webpack-loader
# yarn
yarn add --dev @wyw-in-js/webpack-loader
# pnpm
pnpm add -D @wyw-in-js/webpack-loader

Usage

To use the loader with Webpack, please add @wyw-in-js/webpack-loader under module.rules:

module.exports = {
  test: /\.js$/,
  use: [
    {
      loader: '@wyw-in-js/webpack-loader',
      options: {
        sourceMap: process.env.NODE_ENV !== 'production',
      },
    },
  ],
};

To get details about supported options by the plugin, please check documentation.

/@wyw-in-js/webpack-loader/

    Package Sidebar

    Install

    npm i @wyw-in-js/webpack-loader

    Weekly Downloads

    2,306

    Version

    0.5.3

    License

    MIT

    Unpacked Size

    58.8 kB

    Total Files

    27

    Last publish

    Collaborators

    • layershifter
    • anber