diff --git a/package-lock.json b/package-lock.json index b807492..3873430 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,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", @@ -811,9 +811,9 @@ } }, "node_modules/ziko": { - "version": "0.0.14", - "resolved": "https://registry.npmjs.org/ziko/-/ziko-0.0.14.tgz", - "integrity": "sha512-K6UIB32AgRZM+UeDMiHzk1grtKTJOwCoO/mndh6nMN+c44A5t56IcWvz5+TPR/HXdoBRW6ksUUE6QtZKKelAVQ==", + "version": "0.0.17", + "resolved": "https://registry.npmjs.org/ziko/-/ziko-0.0.17.tgz", + "integrity": "sha512-y+xfFwFUfadkFcjRu8Obl/VzB7V6IVbaul64qYjLmYSWXSCD8WPEVksIg5pc/PX6NRFs7QK/+XJuk/6pWhzf8A==", "license": "MIT", "bin": { "create-ziko-app": "starter/bin/index.js" diff --git a/package.json b/package.json index b13d865..37ec425 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/rollup.config.js b/rollup.config.js index 6417dfd..9c55438 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -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 = ` @@ -25,7 +25,7 @@ const output = [ { file: `dist/${Addon_name}.js`, format: "umd", - name: Str.hyphen2pascalcase(Addon_name), + name: NamedExport, banner, exports: "named", }, @@ -41,7 +41,7 @@ isProduction && { file: `dist/${Addon_name}.min.js`, format: "umd", - name: Str.hyphen2pascalcase(Addon_name), + name: NamedExport, banner, exports: "named", plugins: [