update package name

This commit is contained in:
Percs 2024-07-08 13:20:38 -05:00
parent dc9f4a7e39
commit fb81b33714
2 changed files with 4 additions and 4 deletions

View file

@ -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": {

View file

@ -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,