-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrollup.lyquix.js
46 lines (43 loc) · 1.16 KB
/
rollup.lyquix.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
/**
* rollup.lyquix.js - Rollup configuration for Lyquix 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 typescript from '@rollup/plugin-typescript';
// Rollup configuration
export default {
input: 'js/lyquix.ts',
output: [
{
file: 'js/lyquix.js',
format: 'iife',
name: 'lqx',
sourcemap: false
}
],
plugins: [
typescript({
tsconfig: 'tsconfig.lyquix.json',
})
],
watch: {
include: ['js/lyquix.ts', 'js/lib/lyquix/*.ts'],
clearScreen: false
}
};