@microsoft/loader-cased-file
A Webpack loader for modifying filename casing
Last updated 12 days ago by odspnpm .
SEE LICENSE IN "EULA" FOLDER · Original npm · Tarball · package.json
$ cnpm install @microsoft/loader-cased-file 
SYNC missed versions from official npm registry.

loader-cased-file

This is a wrapper for webpack's file-loader that can be used to modify the casing of the resulting filename. This is useful e.g. when using a content delivery network (CDN) that only allows lowercase filenames.

installation

npm install @microsoft/loader-cased-file --save-dev

Usage

Documentation: Using loaders

The only additional functionality this loader offers is a :lower attribute on the [name] filename template placeholder that forces the filename to be lowercased in the resulting bundle.

Example

require("@microsoft/loader-cased-file?name=[name:lower]_[hash].[ext]!asset.png");

Current Tags

  • 1.7.0                                ...           latest (12 days ago)

21 Versions

  • 1.7.0-plusbeta                                ...           12 days ago
  • 1.7.0                                ...           12 days ago
  • 1.6.0                                ...           2 months ago
  • 1.6.0-plusbeta                                ...           2 months ago
  • 1.5.1                                ...           5 months ago
  • 1.5.1-plusbeta                                ...           5 months ago
  • 1.5.0                                ...           5 months ago
  • 1.5.0-plusbeta                                ...           5 months ago
  • 1.4.1                                ...           9 months ago
  • 1.4.0                                ...           a year ago
  • 1.3.4                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           2 years ago
  • 0.12.3                                ...           2 years ago
  • 0.12.1                                ...           2 years ago
  • 0.11.0                                ...           2 years ago
  • 0.10.0                                ...           2 years ago
  • 0.9.0                                ...           2 years ago
  • 0.8.16                                ...           2 years ago
Maintainers (2)
Downloads
Today 0
This Week 1
This Month 49
Last Day 1
Last Week 4
Last Month 86
Dependencies (5)
Dev Dependencies (4)

Copyright 2014 - 2016 © taobao.org |