Skip to content

Commit 8646db6

Browse files
author
Tom Maton
committed
Updated the README.md with the options
1 parent 803c9fa commit 8646db6

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,10 @@ gulp.task("polymerize", () => {
3737
3838
```js
3939
{
40-
// string / function to be used for file names. Can be either a fixed string or a function
41-
// that takes a [vinyl](https://github.com/gulpjs/vinyl) file object and returns a string
42-
filename: function(file) {
43-
return path.basename(file.path, path.extname(file.path)) + "-styles";
44-
},
45-
// string / function to be used for module ids. Can be either a fixed string or a function
46-
// that takes a [vinyl](https://github.com/gulpjs/vinyl) file object and returns a string
47-
moduleId: function(file) {
48-
return path.basename(file.path, path.extname(file.path)) + "-styles";
49-
}
40+
// string to be used for the beginning of the file name & module ids.
41+
prefix: 'tg-',
42+
// string to be used for the end of the file name & module ids.
43+
suffix: '-styles'
5044
}
5145
```
5246

0 commit comments

Comments
 (0)