Skip to content

Commit 166ab0d

Browse files
committed
fix lint
1 parent 0586b59 commit 166ab0d

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

webpack.config.mjs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ const common = {
2828
],
2929
},
3030
externals: {
31-
'fs': 'null',
31+
fs: 'null',
3232
'node-fetch': 'fetch',
3333
'isomorphic-fetch': 'fetch',
3434
'text-encoding': 'TextEncoder',
3535
'@trust/webcrypto': 'crypto',
36-
'rdflib': 'rdflib',
37-
'$rdf': 'rdflib',
36+
rdflib: 'rdflib',
37+
$rdf: 'rdflib',
3838
'solid-logic': 'SolidLogic',
39-
'SolidLogic': 'SolidLogic',
39+
SolidLogic: 'SolidLogic',
4040
'solid-ui': 'UI',
41-
'UI': 'UI',
41+
UI: 'UI',
4242
},
4343
devtool: 'source-map',
4444
}
@@ -65,8 +65,8 @@ const normalConfig = {
6565
from: 'src/**/*.css',
6666
to: ({ context, absoluteFilename }) => {
6767
// Preserve folder structure under dist/
68-
const relPath = path.relative(path.resolve('src'), absoluteFilename);
69-
return path.resolve('dist', relPath);
68+
const relPath = path.relative(path.resolve('src'), absoluteFilename)
69+
return path.resolve('dist', relPath)
7070
},
7171
},
7272
],
@@ -99,9 +99,9 @@ const minConfig = {
9999
from: 'src/**/*.css',
100100
to: ({ context, absoluteFilename }) => {
101101
// Preserve folder structure under dist/
102-
const relPath = path.relative(path.resolve('src'), absoluteFilename);
103-
return path.resolve('dist', relPath);
104-
},
102+
const relPath = path.relative(path.resolve('src'), absoluteFilename)
103+
return path.resolve('dist', relPath)
104+
},
105105
},
106106
],
107107
}),
@@ -121,4 +121,4 @@ const minConfig = {
121121
}
122122
}
123123

124-
export default [normalConfig, minConfig]
124+
export default [normalConfig, minConfig]

0 commit comments

Comments
 (0)