Skip to content

Commit 8ed6c43

Browse files
committed
fix: Fix webpack config path usage
1 parent 7c3ea08 commit 8ed6c43

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
var webpack = require('webpack')
2+
var path = require('path')
23
module.exports = {
34
context: __dirname,
45
entry: './browser',
56
output: {
6-
path: __dirname + '/browser-dist',
7+
path: path.join(__dirname, '/browser-dist'),
78
filename: 'contentful.js',
89
library: 'contentful'
910
},

0 commit comments

Comments
 (0)