ci: add wasm rollup plugin

This commit is contained in:
Derrick Hammer 2023-06-23 07:56:45 -04:00
parent b98ded63c8
commit 3f1bd189d4
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
3 changed files with 25 additions and 1 deletions

View File

@ -20,7 +20,7 @@
{ {
"file": "dist/index.js", "file": "dist/index.js",
"format": "cjs", "format": "cjs",
"sourcemap": true, "sourcemap": "inline",
"inlineDynamicImports": true "inlineDynamicImports": true
} }
], ],
@ -30,6 +30,11 @@
{ {
"browser": true "browser": true
} }
], [
"@apply @rollup/plugin-wasm[default]",
{
"targetEnv": "auto-inline"
}
] ]
] ]
} }

18
npm-shrinkwrap.json generated
View File

@ -13,6 +13,7 @@
"binconv": "^0.2.0" "binconv": "^0.2.0"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-wasm": "^6.1.3",
"@semantic-release/changelog": "^6.0.3", "@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1", "@semantic-release/git": "^10.0.1",
"binconv": "^0.2.0", "binconv": "^0.2.0",
@ -2702,6 +2703,23 @@
} }
} }
}, },
"node_modules/@rollup/plugin-wasm": {
"version": "6.1.3",
"resolved": "https://registry.npmjs.org/@rollup/plugin-wasm/-/plugin-wasm-6.1.3.tgz",
"integrity": "sha512-7ItTTeyauE6lwdDtQWceEHZ9+txbi4RRy0mYPFn9BW7rD7YdgBDu7HTHsLtHrRzJc313RM/1m6GKgV3np/aEaw==",
"dev": true,
"engines": {
"node": ">=14.0.0"
},
"peerDependencies": {
"rollup": "^1.20.0||^2.0.0||^3.0.0"
},
"peerDependenciesMeta": {
"rollup": {
"optional": true
}
}
},
"node_modules/@rollup/plugin-yaml": { "node_modules/@rollup/plugin-yaml": {
"version": "4.1.1", "version": "4.1.1",
"resolved": "https://registry.npmjs.org/@rollup/plugin-yaml/-/plugin-yaml-4.1.1.tgz", "resolved": "https://registry.npmjs.org/@rollup/plugin-yaml/-/plugin-yaml-4.1.1.tgz",

View File

@ -9,6 +9,7 @@
"import": "./lib/index.mjs" "import": "./lib/index.mjs"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-wasm": "^6.1.3",
"@semantic-release/changelog": "^6.0.3", "@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1", "@semantic-release/git": "^10.0.1",
"binconv": "^0.2.0", "binconv": "^0.2.0",