typed-css-modules-loader

0.0.2 • Public • Published

typed-css-modules-loader

Simplest webpack loader for https://github.com/Quramy/typed-css-modules Has no configuration atm.

I suggest using it as preloader. It will generate .css.d.ts files near the .css Please take a look at this discussion to make a decision.

const settings = {
  // ...
  module: {
    preLoaders: [
      // ...
      {
        test: /\.css$/,
        exclude: /node_modules/,
        loader: 'typed-css-modules'
      }
    ],
  }
  // ...
}

Package Sidebar

Install

npm i typed-css-modules-loader@0.0.2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • c0ba