vue2-plugin-template
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "vue2-plugin-template", | ||
"version": "0.0.4", | ||
"main": "dist/index.js", | ||
"version": "0.0.5", | ||
"main": "/dist/index.cjs", | ||
"module": "/dist/index.mjs", | ||
"author": "guoxiaoyang", | ||
@@ -9,2 +10,16 @@ "scripts": { | ||
}, | ||
"file": [ | ||
"dist" | ||
], | ||
"export": { | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs" | ||
} | ||
}, | ||
"keywords": [ | ||
"template", | ||
"vite", | ||
"vue2" | ||
], | ||
"dependencies": { | ||
@@ -11,0 +26,0 @@ "rollup": "^2.72.0", |
// rollup.config.js | ||
export default { | ||
input: 'src/index.js', | ||
output: { | ||
file: 'dist/index.js', | ||
format: 'cjs' | ||
} | ||
output: [ | ||
{ | ||
file: 'dist/index.cjs', | ||
format: 'cjs' | ||
}, | ||
{ | ||
file: 'dist/index.mjs', | ||
format: 'es' | ||
}, | ||
] | ||
}; |
@@ -1,1 +0,1 @@ | ||
export { template } from './vite-plugin-template.js' | ||
export * from './vite-plugin-template.js' |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4224
8
107
4
1