chore(additional-components): rename bundle output
This commit is contained in:
@@ -12,11 +12,11 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/bcakmakoglu/vue-flow/issues"
|
"url": "https://github.com/bcakmakoglu/vue-flow/issues"
|
||||||
},
|
},
|
||||||
"main": "./dist/additional-components.cjs.js",
|
"main": "./dist/vue-flow-additional-components.cjs.js",
|
||||||
"module": "./dist/additional-components.es.js",
|
"module": "./dist/vue-flow-additional-components.es.js",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"unpkg": "./dist/additional-components.iife.js",
|
"unpkg": "./dist/vue-flow-additional-components.iife.js",
|
||||||
"jsdelivr": "./dist/additional-components.iife.js",
|
"jsdelivr": "./dist/vue-flow-additional-components.iife.js",
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -17,7 +17,8 @@ export default defineConfig({
|
|||||||
lib: {
|
lib: {
|
||||||
formats: ['es', 'cjs', 'iife'],
|
formats: ['es', 'cjs', 'iife'],
|
||||||
entry: resolve(__dirname, 'src/index.ts'),
|
entry: resolve(__dirname, 'src/index.ts'),
|
||||||
name: 'vueFlowBackground',
|
fileName: 'vue-flow-additional-components',
|
||||||
|
name: 'vueFlowAdditionalComponents',
|
||||||
},
|
},
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
// make sure to externalize deps that shouldn't be bundled
|
// make sure to externalize deps that shouldn't be bundled
|
||||||
|
|||||||
Reference in New Issue
Block a user