mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-07 13:44:54 +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: {
|
fallback: {
|
||||||
path: require.resolve('path-browserify'),
|
path: require.resolve('path-browserify'),
|
||||||
http: false,
|
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'),
|
os: path.resolve(__dirname, 'src/empty.js'),
|
||||||
tty: path.resolve(__dirname, 'src/empty.js'),
|
tty: path.resolve(__dirname, 'src/empty.js'),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user