We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aba2d8e commit 8d55251Copy full SHA for 8d55251
webpack.config.babel.js
@@ -1,14 +1,13 @@
1
-import { join } from 'path'
2
-
3
-const include = join(__dirname, 'src');
+const path = require("path");
4
+const include = path.join(__dirname, "src");
5
6
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
-}
+ entry: "./src/index",
+ output: {
+ path: include,
+ libraryTarget: "umd",
+ library: "javascriptColorGradient",
+ },
+ devtool: "source-map",
+};
0 commit comments