mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
Remove redundant webpack configs.
This commit is contained in:
parent
3c79588778
commit
1b03b58d14
@ -27,24 +27,11 @@ export default (env, argv) => {
|
||||
fs: '{ existsSync: () => true }',
|
||||
mkdirp: '{}'
|
||||
},
|
||||
plugins: [
|
||||
new webpack.ProvidePlugin({
|
||||
process: 'process/browser',
|
||||
Buffer: ['buffer', 'Buffer']
|
||||
})
|
||||
],
|
||||
resolve: {
|
||||
modules: [
|
||||
'node_modules',
|
||||
path.resolve(__dirname, '../node_modules')
|
||||
],
|
||||
fallback: {
|
||||
path: require.resolve('path-browserify'),
|
||||
os: false,
|
||||
fs: false,
|
||||
constants: false,
|
||||
stream: false
|
||||
}
|
||||
]
|
||||
},
|
||||
resolveLoader: {
|
||||
modules: [
|
||||
|
@ -28,24 +28,11 @@ export default (env, argv) => {
|
||||
fs: '{ existsSync: () => true }',
|
||||
mkdirp: '{}'
|
||||
},
|
||||
plugins: [
|
||||
new webpack.ProvidePlugin({
|
||||
process: 'process/browser',
|
||||
Buffer: ['buffer', 'Buffer']
|
||||
})
|
||||
],
|
||||
resolve: {
|
||||
modules: [
|
||||
'node_modules',
|
||||
path.resolve(__dirname, '../node_modules')
|
||||
],
|
||||
fallback: {
|
||||
path: require.resolve('path-browserify'),
|
||||
os: false,
|
||||
fs: false,
|
||||
constants: false,
|
||||
stream: false
|
||||
}
|
||||
]
|
||||
},
|
||||
resolveLoader: {
|
||||
modules: [
|
||||
|
@ -27,7 +27,6 @@ export default (env, argv) => {
|
||||
},
|
||||
plugins: [
|
||||
new webpack.ProvidePlugin({
|
||||
process: 'process/browser',
|
||||
Buffer: ['buffer', 'Buffer']
|
||||
})
|
||||
],
|
||||
@ -38,10 +37,6 @@ export default (env, argv) => {
|
||||
],
|
||||
fallback: {
|
||||
path: require.resolve('path-browserify'),
|
||||
os: false,
|
||||
fs: false,
|
||||
constants: false,
|
||||
stream: false
|
||||
}
|
||||
},
|
||||
resolveLoader: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user