mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-10 22:00:58 +01:00
Rename module build .js => .mjs to fix node import (#200)
This commit is contained in:
parent
52df0c510f
commit
84d6931fe8
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
||||||
"license": "(MIT AND Zlib)",
|
"license": "(MIT AND Zlib)",
|
||||||
"repository": "nodeca/pako",
|
"repository": "nodeca/pako",
|
||||||
"exports": {
|
"exports": {
|
||||||
"import": "./dist/pako.esm.js",
|
"import": "./dist/pako.esm.mjs",
|
||||||
"require": "./index.js"
|
"require": "./index.js"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -80,7 +80,7 @@ export default [
|
||||||
{
|
{
|
||||||
input: 'index.js',
|
input: 'index.js',
|
||||||
output: [
|
output: [
|
||||||
{ file: 'dist/pako.esm.js', format: 'esm' }
|
{ file: 'dist/pako.esm.mjs', format: 'esm' }
|
||||||
],
|
],
|
||||||
plugins: plugins
|
plugins: plugins
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue