1.0.0 • Published 10 years ago

timestamp-brunch v1.0.0

Weekly downloads
74
License
-
Repository
github
Last release
10 years ago

TimeStamp Brunch

Add timestamp to avoid the cache. JS/CSS

npm i timestamp-brunch -save

Example

Config :

"plugins": {
  "timestampbrunch" : {
      "environments" : ["dev", "production"],
      "referenceFiles" : "index.html",
      "suffix" : "min"
  }
}

Brunch build

brunch build -e dev

This script tags will be compile

<script src="js/vendor.js"></script>
<script src="js/app.js"></script>

to

<script src="js/vendor-24179978.min.js"></script>
<script src="js/app-24179978.min.js"></script>

and the two new files will be created.

1.0.0

10 years ago

0.2.12

10 years ago

0.2.11

10 years ago

0.2.10

10 years ago

0.2.9

10 years ago

0.2.8

10 years ago

0.2.7

10 years ago

0.2.6

10 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.1.1

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago