It resolves #3
This commit is contained in:
parent
298ca64675
commit
7918cadcd9
12 changed files with 8667 additions and 173 deletions
|
|
@ -2,8 +2,8 @@ const rt = process.cwd();
|
|||
const {version, name} = require(rt+'/package.json');
|
||||
const shell = require('child_process').execSync;
|
||||
const cmds ={
|
||||
browserify:(suffix =>`node ${rt}/node_modules/browserify/bin/cmd ${rt}/index.js -o ${rt}/cdn/${name}-${suffix}.js`) ,
|
||||
minify : (suffix => `node node_modules/uglify-js/bin/uglifyjs cdn/${name}-${suffix}.js -o cdn/${name}-${suffix}.min.js`)
|
||||
browserify:(suffix =>`node ${rt}/node_modules/browserify/bin/cmd ${rt}/cdn/window.js -o ${rt}/cdn/${name}-${suffix}.js`) ,
|
||||
// minify : (suffix => `node node_modules/uglify-js/bin/uglifyjs ${rt}/cdn/${name}-${suffix}.js -o ${rt}/cdn/${name}-${suffix}.min.js`)
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
4219
cdn/react-csv-1.0.1.js
Normal file
4219
cdn/react-csv-1.0.1.js
Normal file
File diff suppressed because it is too large
Load diff
4219
cdn/react-csv-latest.js
vendored
Normal file
4219
cdn/react-csv-latest.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
3
cdn/window.js
Normal file
3
cdn/window.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const {CSVLink, CSVDownload} = require('../lib/index');
|
||||
|
||||
window.ReactCSV = {CSVLink, CSVDownload};
|
||||
Loading…
Add table
Add a link
Reference in a new issue