TrySound / rollup-plugin-string

Converts text files to modules
MIT License
85 stars 13 forks source link

typo in usage #1

Closed vedam closed 8 years ago

vedam commented 8 years ago

small typo in usage

in usage you're passing an array to string():

plugins: [
  string([
    extensions: ['.html']
  ])
]

in your tests it's an object:

plugins: [
  string({
    extensions: ['.html', '.css']
  })
]
TrySound commented 8 years ago

@vedam Nice catch. Can you send a pr?

TrySound commented 8 years ago

Fix via https://github.com/TrySound/rollup-plugin-string/commit/154e7b155793ee5ba150f477a4b70daa1d378b6a