Skip to content

Commit

Permalink
fix named export
Browse files Browse the repository at this point in the history
  • Loading branch information
zakarialaoui10 committed Oct 14, 2024
1 parent e3c24ca commit 9a67506
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"rollup": "^4.24.0",
"ziko": "^0.0.14"
"ziko": "^0.0.17"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.0",
Expand Down
6 changes: 3 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Str } from "ziko";
import resolve from "@rollup/plugin-node-resolve";
import commonjs from '@rollup/plugin-commonjs';
import terser from "@rollup/plugin-terser";

const Addon_name = "ziko-something";
const NamedExport = "ZikoSomething"
const Author = "";

const banner = `
Expand All @@ -25,7 +25,7 @@ const output = [
{
file: `dist/${Addon_name}.js`,
format: "umd",
name: Str.hyphen2pascalcase(Addon_name),
name: NamedExport,
banner,
exports: "named",
},
Expand All @@ -41,7 +41,7 @@ isProduction &&
{
file: `dist/${Addon_name}.min.js`,
format: "umd",
name: Str.hyphen2pascalcase(Addon_name),
name: NamedExport,
banner,
exports: "named",
plugins: [
Expand Down

0 comments on commit 9a67506

Please sign in to comment.