mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-14 14:50:03 -04:00
update package name
This commit is contained in:
parent
dc9f4a7e39
commit
fb81b33714
2 changed files with 4 additions and 4 deletions
|
@ -15,8 +15,8 @@
|
|||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.js",
|
||||
"require": "./dist/bare.cjs",
|
||||
"import": "./dist/module.js",
|
||||
"require": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts"
|
||||
},
|
||||
"./node": {
|
||||
|
|
|
@ -30,7 +30,7 @@ const configs = [
|
|||
{
|
||||
input: './src/index.ts',
|
||||
output: {
|
||||
file: 'dist/index.js',
|
||||
file: 'dist/module.js',
|
||||
format: 'esm',
|
||||
sourcemap: true,
|
||||
exports: 'named',
|
||||
|
@ -40,7 +40,7 @@ const configs = [
|
|||
{
|
||||
input: 'src/index.ts',
|
||||
output: {
|
||||
file: 'dist/bare.cjs',
|
||||
file: 'dist/index.js',
|
||||
format: 'umd',
|
||||
name: 'BareMux',
|
||||
sourcemap: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue