-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrollup.vue.js
50 lines (47 loc) · 1.17 KB
/
rollup.vue.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**
* rollup.vue.js - Rollup configuration for vue library
*
* @version 3.1.0
* @package wp_theme_lyquix
* @author Lyquix
* @copyright Copyright (C) 2015 - 2024 Lyquix
* @license GNU General Public License version 2 or later
* @link https://github.com/Lyquix/wp_theme_lyquix
*/
// .d8888b. 88888888888 .d88888b. 8888888b. 888
// d88P Y88b 888 d88P" "Y88b 888 Y88b 888
// Y88b. 888 888 888 888 888 888
// "Y888b. 888 888 888 888 d88P 888
// "Y88b. 888 888 888 8888888P" 888
// "888 888 888 888 888 Y8P
// Y88b d88P 888 Y88b. .d88P 888 "
// "Y8888P" 888 "Y88888P" 888 888
//
// DO NOT MODIFY THIS FILE!
// Rollup plugins
import vue from 'rollup-plugin-vue';
import css from 'rollup-plugin-css-only';
// Rollup configuration
export default [
{
input: 'js/lib/vue/index.js',
output: {
format: 'iife',
file: 'js/vue.js',
globals: {
vue: 'Vue'
}
},
external: ['vue'],
plugins: [
vue(),
css({
output: 'vue.css'
})
],
watch: {
include: ['js/lib/vue/*'],
clearScreen: false
}
}
];