chore: .npmignore & build config
This commit is contained in:
parent
578cb0f34b
commit
049e90a128
5
.npmignore
Normal file
5
.npmignore
Normal file
@ -0,0 +1,5 @@
|
||||
.github
|
||||
.gitignore
|
||||
/storybook
|
||||
/node_modules
|
||||
/build
|
@ -21,7 +21,7 @@ export default {
|
||||
'vue-property-decorator': 'vuePropertyDecorator',
|
||||
},
|
||||
},
|
||||
external: ['vue', 'vue-property-decorator'],
|
||||
external: ['vue'],
|
||||
plugins: [
|
||||
resolve({
|
||||
browser: true,
|
||||
@ -31,7 +31,7 @@ export default {
|
||||
vue({ css: true, compileTemplate: true }),
|
||||
alias({ entries: [{ find: /^@\/(.+)/, replacement: './$1' }] }),
|
||||
commonjs(),
|
||||
internal(['is-plain-object', 'nanoid/non-secure', 'is-url']),
|
||||
internal(['is-plain-object', 'nanoid/non-secure', 'is-url', 'vue-property-decorator']),
|
||||
terser(),
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user