Fix linter errors.

This commit is contained in:
saul 2023-03-28 13:44:07 +13:00
parent 1b03b58d14
commit 34238dd852
3 changed files with 1 additions and 7 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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: {