mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
10 years ago
6 changed files with 21 additions and 28 deletions
@ -0,0 +1,8 @@ |
|||
{ |
|||
"esnext": true, |
|||
"undef": true, |
|||
"unused": true, |
|||
"globals": { |
|||
"process": true |
|||
} |
|||
} |
@ -0,0 +1,10 @@ |
|||
# rollup changelog |
|||
|
|||
## 0.2.0 |
|||
|
|||
* First release capable of doing anything useful |
|||
* Still lots of basic functionality missing |
|||
|
|||
## 0.1.0 |
|||
|
|||
* Initial experiment |
@ -1,6 +0,0 @@ |
|||
export default function sanitize ( name ) { |
|||
name = name.replace( /[^$_0-9a-zA-Z]/g, '_' ); |
|||
if ( !/[$_a-zA-Z]/.test( name ) ) name = `_${name}`; |
|||
|
|||
return name; |
|||
} |
Loading…
Reference in new issue