-
Notifications
You must be signed in to change notification settings - Fork 0
/
porter.js
40 lines (40 loc) · 905 Bytes
/
porter.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
module.exports = {
babel: {
targets: ["> 4%", "ie 11", "safari 8"],
options: {
decorators: false,
classProperties: true,
objectRestSpread: true,
reactJsx: true,
forOfAsArray: false,
reactRemovePropTypes: true,
transformImportsMap: {},
rewire: false
},
inputPath: "src",
cjsOutputPath: "lib",
esOutputPath: "es"
},
rollup: {
name: "ReactSelectCss",
inputFile: "src/index.js",
externalPackages: [
"react",
"react-dom",
"react-input-autosize-fork",
"prop-types"
],
globalPackages: {
react: "React",
"react-dom": "ReactDOM",
"react-input-autosize-fork": "AutosizeInput",
"prop-types": "PropTypes"
},
analyze: true,
umdOutputFile: "dist/react-select-css.js",
minOutputFile: "dist/react-select-css.min.js"
},
mocha: {
files: ["test"]
}
};