Skip to content

Commit f4798ce

Browse files
Add UMD module for direct browser import
1 parent 2f4e734 commit f4798ce

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

poi.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module.exports = {
2+
entry: './PictureInput.vue',
3+
filename: {
4+
js: 'vue-picture-input.js'
5+
},
6+
moduleName: 'PictureInput',
7+
extractCSS: false,
8+
dist: 'umd',
9+
sourceMap: false,
10+
html: false,
11+
format: 'umd'
12+
}

umd/vue-picture-input.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)