Skip to content

Commit 8d55251

Browse files
author
LashaKakabadze
committed
minor changes in webpack config
1 parent aba2d8e commit 8d55251

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

webpack.config.babel.js

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
import { join } from 'path'
2-
3-
const include = join(__dirname, 'src');
1+
const path = require("path");
42

3+
const include = path.join(__dirname, "src");
54

65
export default {
7-
entry: './src/index',
8-
output: {
9-
path: join(__dirname, 'dist'),
10-
libraryTarget: 'umd',
11-
library: 'javascriptColorGradient',
12-
},
13-
devtool: 'source-map'
14-
}
6+
entry: "./src/index",
7+
output: {
8+
path: include,
9+
libraryTarget: "umd",
10+
library: "javascriptColorGradient",
11+
},
12+
devtool: "source-map",
13+
};

0 commit comments

Comments
 (0)