Comparing version 0.4.0 to 0.5.0
@@ -21,2 +21,3 @@ #!/usr/bin/env node | ||
.option('-d, --dest <dir>', 'specify output dest file') | ||
.option('--jsx <jsx>', 'jsx function for creating element') | ||
.action(run); | ||
@@ -30,2 +31,3 @@ | ||
watch: !!program.watch, | ||
jsx: program.jsx, | ||
}; | ||
@@ -32,0 +34,0 @@ if (typeof entryFilePath !== 'string') { |
{ | ||
"name": "bunchee", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "simple bundler", | ||
@@ -21,9 +21,10 @@ "main": "index.js", | ||
"dependencies": { | ||
"@rollup/plugin-buble": "^0.20.0", | ||
"commander": "^2.19.0", | ||
"rollup": "^1.2.2", | ||
"rollup-plugin-buble": "^0.19.6", | ||
"rollup": "~1.19.4", | ||
"rollup-plugin-commonjs": "^9.2.0", | ||
"rollup-plugin-json": "^3.1.0", | ||
"rollup-plugin-node-resolve": "^4.0.0" | ||
} | ||
}, | ||
"devDependencies": {} | ||
} |
@@ -34,3 +34,4 @@ const rollup = require('rollup'); | ||
error => { | ||
console.error(error); | ||
console.log(error) | ||
console.error(error.snippet); // logging source code in format | ||
} | ||
@@ -37,0 +38,0 @@ ); |
const commonjs = require('rollup-plugin-commonjs'); | ||
const json = require('rollup-plugin-json'); | ||
const buble = require('rollup-plugin-buble'); | ||
const buble = require('@rollup/plugin-buble'); | ||
const nodeResolve = require('rollup-plugin-node-resolve'); | ||
@@ -16,3 +16,3 @@ | ||
].filter(Boolean).map(Object.keys).reduce((a, b) => a.concat(b), []); | ||
return { | ||
@@ -19,0 +19,0 @@ input: entry, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5760
168
+ Added@rollup/plugin-buble@^0.20.0
+ Added@rollup/plugin-buble@0.20.0(transitive)
+ Added@types/estree@0.0.39(transitive)
+ Added@types/node@12.20.55(transitive)
+ Addedrollup@1.19.4(transitive)
+ Addedtypescript@3.9.10(transitive)
- Removedrollup-plugin-buble@^0.19.6
- Removedrollup-plugin-buble@0.19.8(transitive)
Updatedrollup@~1.19.4