Skip to content

Commit a0a7f6e

Browse files
committed
Build output ES6 module version
1 parent 075b61f commit a0a7f6e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

build/build.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ build([
3232
{
3333
file: resolve('dist/vue-class-component.common.js'),
3434
format: 'cjs'
35+
},
36+
{
37+
file: resolve('dist/vue-class-component.esm.js'),
38+
format: 'esm'
3539
}
3640
].map(genConfig))
3741

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "7.0.2",
44
"description": "ES201X/TypeScript class decorator for Vue components",
55
"main": "dist/vue-class-component.common.js",
6+
"module": "dist/vue-class-component.esm.js",
67
"typings": "lib/index.d.ts",
78
"files": [
89
"dist",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy