mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-04 10:50:59 +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)",
|
||||
"repository": "nodeca/pako",
|
||||
"exports": {
|
||||
"import": "./dist/pako.esm.js",
|
||||
"import": "./dist/pako.esm.mjs",
|
||||
"require": "./index.js"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
@ -80,7 +80,7 @@ export default [
|
|||
{
|
||||
input: 'index.js',
|
||||
output: [
|
||||
{ file: 'dist/pako.esm.js', format: 'esm' }
|
||||
{ file: 'dist/pako.esm.mjs', format: 'esm' }
|
||||
],
|
||||
plugins: plugins
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue