mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-14 06:40:02 -04:00
change file names and extensions
This commit is contained in:
parent
36bef24bdc
commit
6a54532e1d
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/module.js",
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts"
|
||||
},
|
||||
|
|
|
@ -30,7 +30,7 @@ const configs = [
|
|||
{
|
||||
input: './src/index.ts',
|
||||
output: {
|
||||
file: 'dist/module.js',
|
||||
file: 'dist/index.mjs',
|
||||
format: 'esm',
|
||||
sourcemap: true,
|
||||
exports: 'named',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue