forked from visgl/luma.gl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbabel.config.cjs
32 lines (31 loc) · 1 KB
/
babel.config.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
const {getBabelConfig} = require('ocular-dev-tools/configuration');
module.exports = getBabelConfig({
overrides: {
plugins: [
// inject __VERSION__ from package.json
// 'version-inline',
// NOTE: To debug our babel plugins, just reference the local modules
// './dev-modules/babel-plugin-inline-gl-constants',
// 'babel-plugin-inline-webgl-constants',
// TODO - Restore. Some import issue....
// 'babel-plugin-inline-webgl-constants',
// [
// 'babel-plugin-remove-glsl-comments',
// {
// patterns: ['**/shadertools/src/modules/**/*.js']
// }
// ]
// NOTE: To debug our babel plugins, just reference the local modules
// './dev-modules/babel-plugin-inline-gl-constants',
// ['./dev-modules/babel-plugin-remove-glsl-comments', {
// patterns: ['**/shadertools/src/modules/**/*.js']
// }
// ]
],
ignore: [
// babel can't process .d.ts
/\.d\.ts$/
]
},
debug: false
});