mirror of
https://github.com/anatolykopyl/vue-three-d-mockup.git
synced 2026-03-26 12:55:08 +00:00
Added a build process
This commit is contained in:
20
rollup.config.js
Normal file
20
rollup.config.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import vue from 'rollup-plugin-vue';
|
||||
import url from '@rollup/plugin-url';
|
||||
import packageJson from './package.json';
|
||||
|
||||
export default {
|
||||
input: 'src/Mockup.vue',
|
||||
output: [
|
||||
{
|
||||
format: 'esm',
|
||||
file: packageJson.main,
|
||||
},
|
||||
],
|
||||
plugins: [
|
||||
vue(),
|
||||
url({
|
||||
limit: 3000000,
|
||||
include: ['**/*.obj'],
|
||||
}),
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user