Socket
Socket
Sign inDemoInstall

vue2-plugin-template

Package Overview
Dependencies
146
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.4 to 0.0.5

dist/index.cjs

19

package.json
{
"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",

14

rollup.config.js
// 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'
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc