mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
9 years ago
1 changed files with 1 additions and 0 deletions
@ -1,5 +1,6 @@ |
|||
const nope = method => `Cannot use fs.${method} inside browser`; |
|||
|
|||
export const isFile = () => false; |
|||
export const readdirSync = nope( 'readdirSync' ); |
|||
export const readFileSync = nope( 'readFileSync' ); |
|||
export const writeFile = nope( 'writeFile' ); |
|||
|
Loading…
Reference in new issue