@skbkontur/typed-css-modules-loader

0.1.4 • Public • Published

typed-css-modules-loader

This is a fork of https://github.com/olegstepura/typed-css-modules-loader

Simplest webpack loader for https://github.com/nanot1m/typed-css-modules

It has one option - noEmit, which turns off emitting files to the output path of webpack.

You can affect how typed-css-modules behaves by using query parameters. The loader will pass any query parameters you specify (excluding noEmit) to the constructor of the DtsCreator class. For more info on available options, please take a look here: DtsCreator constructor.

const settings = {
  // ...
  module: {
    rules: [
      // ...
      {
        test: /\.css$/,
        loaders: [
          "style-loader",
          "css-loader",
          "@skbkontur/typed-css-modules-loader"
        ]
      }
    ]
  }
  // ...
};

/@skbkontur/typed-css-modules-loader/

    Package Sidebar

    Install

    npm i @skbkontur/typed-css-modules-loader

    Weekly Downloads

    1

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    54.7 kB

    Total Files

    7

    Last publish

    Collaborators

    • dpeshkin
    • khlutkova
    • tihonove
    • ubitso4
    • zhzz
    • skbkontur-bot
    • fakefeik
    • original001
    • templeoftemplar
    • apocalyp0sys
    • lossir