mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-06 05:10:20 +03:00
chore: remove conditional for fs
This commit is contained in:
parent
fe7b76a9b0
commit
d8493f3758
|
@ -47,7 +47,7 @@ export default (env: { standalone?: boolean, browser?: boolean } = {}) => ({
|
|||
fallback: {
|
||||
path: require.resolve('path-browserify'),
|
||||
http: false,
|
||||
fs: env.browser ? path.resolve(__dirname, 'src/empty.js') : false,
|
||||
fs: path.resolve(__dirname, 'src/empty.js'),
|
||||
os: path.resolve(__dirname, 'src/empty.js'),
|
||||
tty: path.resolve(__dirname, 'src/empty.js'),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user