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',
|
'vue-property-decorator': 'vuePropertyDecorator',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
external: ['vue', 'vue-property-decorator'],
|
external: ['vue'],
|
||||||
plugins: [
|
plugins: [
|
||||||
resolve({
|
resolve({
|
||||||
browser: true,
|
browser: true,
|
||||||
@ -31,7 +31,7 @@ export default {
|
|||||||
vue({ css: true, compileTemplate: true }),
|
vue({ css: true, compileTemplate: true }),
|
||||||
alias({ entries: [{ find: /^@\/(.+)/, replacement: './$1' }] }),
|
alias({ entries: [{ find: /^@\/(.+)/, replacement: './$1' }] }),
|
||||||
commonjs(),
|
commonjs(),
|
||||||
internal(['is-plain-object', 'nanoid/non-secure', 'is-url']),
|
internal(['is-plain-object', 'nanoid/non-secure', 'is-url', 'vue-property-decorator']),
|
||||||
terser(),
|
terser(),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user