Open leoj3n opened 7 years ago
In this repo's README, Isn't the following bang syntax outdated?
STACHE_MODULE_NAME!steal-stache
It's a bit confusing what that's supposed to be saying, at least to me upon first encounter.
Perhaps STACHE_MODULE_NAME would make more sense as, I think, RELATIVE_FILE_PATH?
STACHE_MODULE_NAME
RELATIVE_FILE_PATH
Regarding bang syntax, for instance the docs here don't say anything about bang syntax and avoids the ugly STACHE_MODULE_NAME by saying:
To load a CSS module in your JavaScript code, just import it just as you would any other module
Ah, well, I guess Steal can do some logic on that "STACHE_MODULE_NAME" so it can be ~/[...].stache or projectname/[...].stache so only sometimes a file path.
~/[...].stache
projectname/[...].stache
I think that could be explained in the README too.
In this repo's README, Isn't the following bang syntax outdated?
It's a bit confusing what that's supposed to be saying, at least to me upon first encounter.
Perhaps
STACHE_MODULE_NAME
would make more sense as, I think,RELATIVE_FILE_PATH
?Regarding bang syntax, for instance the docs here don't say anything about bang syntax and avoids the ugly
STACHE_MODULE_NAME
by saying: