forked from visgl/loaders.gl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ocularrc.cjs
35 lines (28 loc) · 798 Bytes
/
.ocularrc.cjs
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
/** @typedef {import('ocular-dev-tools').OcularConfig} OcularConfig */
const {resolve} = require('path');
/** @type {OcularConfig} */
const config = {
aliases: {
test: resolve(__dirname, 'test')
},
browserTest: {
server: {wait: 5000}
},
babel: {
// extensions: ['.js', '.jsx', '.mjs', '.ts', '.tsx']
},
lint: {
// TODO - comment out while getting typescript to work
paths: ['dev-docs', 'docs', 'modules'] // 'examples', test', 'website', 'examples'],
// extensions: ['js', 'jsx', 'mjs', 'ts', 'tsx', 'md']
},
webpack: {},
entry: {
test: 'test/node.js',
'test-browser': 'test/browser.js',
bench: 'test/bench/node.js',
'bench-browser': 'test/bench/browser.js',
size: 'test/size/import-nothing.js'
}
};
module.exports = config;