mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
Fix linter errors.
This commit is contained in:
parent
1b03b58d14
commit
34238dd852
@ -1,10 +1,7 @@
|
||||
import path from 'path'
|
||||
import webpack from 'webpack'
|
||||
import { fileURLToPath } from 'url'
|
||||
import { createRequire } from 'module'
|
||||
|
||||
export default (env, argv) => {
|
||||
const require = createRequire(import.meta.url)
|
||||
const __filename = fileURLToPath(import.meta.url)
|
||||
const __dirname = path.dirname(__filename)
|
||||
|
||||
|
@ -1,10 +1,7 @@
|
||||
import path from 'path'
|
||||
import webpack from 'webpack'
|
||||
import { fileURLToPath } from 'url'
|
||||
import { createRequire } from 'module'
|
||||
|
||||
export default (env, argv) => {
|
||||
const require = createRequire(import.meta.url)
|
||||
const __filename = fileURLToPath(import.meta.url)
|
||||
const __dirname = path.dirname(__filename)
|
||||
|
||||
|
@ -36,7 +36,7 @@ export default (env, argv) => {
|
||||
path.resolve(__dirname, '../node_modules')
|
||||
],
|
||||
fallback: {
|
||||
path: require.resolve('path-browserify'),
|
||||
path: require.resolve('path-browserify')
|
||||
}
|
||||
},
|
||||
resolveLoader: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user