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": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"import": "./dist/index.js",
|
"import": "./dist/module.js",
|
||||||
"require": "./dist/bare.cjs",
|
"require": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts"
|
"types": "./dist/index.d.ts"
|
||||||
},
|
},
|
||||||
"./node": {
|
"./node": {
|
||||||
|
|
|
@ -30,7 +30,7 @@ const configs = [
|
||||||
{
|
{
|
||||||
input: './src/index.ts',
|
input: './src/index.ts',
|
||||||
output: {
|
output: {
|
||||||
file: 'dist/index.js',
|
file: 'dist/module.js',
|
||||||
format: 'esm',
|
format: 'esm',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
exports: 'named',
|
exports: 'named',
|
||||||
|
@ -40,7 +40,7 @@ const configs = [
|
||||||
{
|
{
|
||||||
input: 'src/index.ts',
|
input: 'src/index.ts',
|
||||||
output: {
|
output: {
|
||||||
file: 'dist/bare.cjs',
|
file: 'dist/index.js',
|
||||||
format: 'umd',
|
format: 'umd',
|
||||||
name: 'BareMux',
|
name: 'BareMux',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue