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 bdd7fff commit cd2c4b5Copy full SHA for cd2c4b5
webpack.config.js
@@ -4,7 +4,8 @@ module.exports = {
4
entry: './src/datepicker',
5
output: {
6
libraryTarget: 'umd',
7
- library: 'DatePicker'
+ library: 'DatePicker',
8
+ path: './dist/'
9
},
10
module: {
11
loaders: [
@@ -30,6 +31,22 @@ module.exports = {
30
31
commonjs: 'react',
32
amd: 'react'
33
}
34
+ },
35
+ {
36
+ 'moment': {
37
+ root: 'moment',
38
+ commonjs2: 'moment',
39
+ commonjs: 'moment',
40
+ amd: 'moment'
41
+ }
42
43
44
+ 'react-onclickoutside': {
45
+ root: 'OnClickOutside',
46
+ commonjs2: 'react-onclickoutside',
47
+ commonjs: 'react-onclickoutside',
48
+ amd: 'react-onclickoutside'
49
50
51
],
52
node: {Buffer: false},
0 commit comments