mirror of https://github.com/lukechilds/ow.git
committed by
Sindre Sorhus
2 changed files with 6 additions and 3 deletions
@ -1,4 +1,4 @@ |
|||
import nodeRequire from './require'; |
|||
|
|||
// Re-export the Node.js `fs` module to make sure it doesn't get bundled with front-end apps
|
|||
export default nodeRequire('fs'); |
|||
// Re-export the Node.js `fs` module lazily to make sure it doesn't get bundled with front-end apps
|
|||
export default () => nodeRequire('fs'); |
|||
|
Loading…
Reference in new issue