bunchee 3.1.1 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +2 -0
- package/package.json +2 -1
package/README.md
CHANGED
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
3
3
|
var fs = require('fs/promises');
|
|
4
4
|
var path = require('path');
|
|
5
5
|
var rollup = require('rollup');
|
|
6
|
+
var pluginWasm = require('@rollup/plugin-wasm');
|
|
6
7
|
var rollupPluginSwc3 = require('rollup-plugin-swc3');
|
|
7
8
|
var commonjs = require('@rollup/plugin-commonjs');
|
|
8
9
|
var shebang = require('rollup-plugin-preserve-shebang');
|
|
@@ -457,6 +458,7 @@ function buildInputConfig(entry, pkg, options, cwd, { tsConfigPath , tsCompilerO
|
|
|
457
458
|
include: /node_modules\//
|
|
458
459
|
}),
|
|
459
460
|
json__default.default(),
|
|
461
|
+
pluginWasm.wasm(),
|
|
460
462
|
rollupPluginSwc3.swc({
|
|
461
463
|
include: /\.(m|c)?[jt]sx?$/,
|
|
462
464
|
exclude: 'node_modules',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bunchee",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "zero config bundler for js/ts/jsx libraries",
|
|
5
5
|
"bin": {
|
|
6
6
|
"bunchee": "./dist/cli.js"
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"@rollup/plugin-json": "6.0.0",
|
|
50
50
|
"@rollup/plugin-node-resolve": "15.0.2",
|
|
51
51
|
"@rollup/plugin-replace": "5.0.2",
|
|
52
|
+
"@rollup/plugin-wasm": "6.1.3",
|
|
52
53
|
"@swc/core": "1.3.46",
|
|
53
54
|
"@swc/helpers": "0.5.0",
|
|
54
55
|
"arg": "5.0.2",
|