typings-for-css-modules-loader

v1.4.0
Drop-in replacement for css-loader to generate typings for your CSS-Modules on the fly in webpack
Typescript TypeScript CSS Modules CSSModules CSS Modules typings Webpack Webpack loader Webpack css module typings loader typescript webpack typings and 2 more...

build

babel src -d lib

prepublish

npm run build

pretest

rm -f ./test/example*.css.d.ts

test:diff

(cd test; set -e; for f in example*css.d.ts; do diff $f expected-$f; done;)

test:run

babel-node ./node_modules/webpack/bin/webpack --config ./test/webpack.config.babel.js

test:run-twice

npm run test:run > /dev/null 2>&1 && npm run test:run

test

npm run test:run-twice && npm run test:diff

Metadata

  • MIT
  • Whatever
  • Tim Sebastian
  • released 2/14/2017

Downloads

Maintainers