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