-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrollup.config.dev.js
More file actions
31 lines (30 loc) · 838 Bytes
/
Copy pathrollup.config.dev.js
File metadata and controls
31 lines (30 loc) · 838 Bytes
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
import typescript from 'rollup-plugin-typescript2';
import json from 'rollup-plugin-json';
// import serve from 'rollup-plugin-serve';
import html from 'rollup-plugin-fill-html';
export default [
{
input: 'src/core/index.ts',
plugins: [
// html({
// template: 'src/dev.html',
// filename: 'index.html'
// }),
json(),
typescript({
tsconfig: 'tsconfig.json',
tsconfigOverride: { compilerOptions: { declaration: false } }
}),
// serve('dist')
],
output: {
file: 'dev/compile.dev.js',
format: 'cjs'
},
watch: {
chokidar: true,
clearScreen: true,
include: 'src/**'
}
}
];