Skip to content

Commit 133d927

Browse files
clarkbwyyx990803
authored andcommitted
Fix lint errors in the shells/chrome/webpack config (#358)
Just came across this and thought I could help out.
1 parent 58dd3e7 commit 133d927

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shells/chrome/webpack.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ module.exports = {
1818
detector: './src/detector.js'
1919
},
2020
output: {
21-
path: __dirname + '/build',
22-
filename: '[name].js',
21+
path: path.join(__dirname, 'build'),
22+
filename: '[name].js'
2323
},
2424
resolve: {
2525
alias
@@ -28,7 +28,7 @@ module.exports = {
2828
rules: [
2929
{
3030
test: /\.js$/,
31-
loader: 'buble-loader',
31+
loader: 'buble-loader',
3232
exclude: /node_modules|vue\/dist|vuex\/dist/,
3333
options: bubleOptions
3434
},

0 commit comments

Comments
 (0)