Skip to content

Commit

Permalink
fix: common to module. remove type module in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenesius committed Aug 28, 2023
1 parent 9d5a828 commit 0e1f1a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "jenesius-vue-form",
"version": "3.0.1",
"description": "Heavy form system for Vue.js",
"type": "module",
"main": "dist/jenesius-vue-form.cjs.js",
"module": "dist/jenesius-vue-form.es.js",
"author": "Jenesius",
"license": "MIT",
"email": "lokargenia@gmail.com",
Expand Down Expand Up @@ -35,7 +36,6 @@
".eslintrc.cjs",
"LICENSE"
],
"main": "dist/jenesius-vue-form.js",
"private": false,
"types": "dist/types/index.d.ts",
"repository": {
Expand Down
4 changes: 3 additions & 1 deletion vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ export default defineConfig({
entry: resolve(__dirname, srcFolder, "index.ts"),
name: "JenesiusVueForm",
formats: [`cjs`, 'umd', 'es'],

fileName(format) {
return [NAME, format, 'js'].join('.');
}
},
rollupOptions: {
external: ["vue"],
Expand Down

0 comments on commit 0e1f1a1

Please sign in to comment.