2018-10-31 16:24:32 +08:00
|
|
|
const path = require('path');
|
2018-10-23 19:32:42 +08:00
|
|
|
module.exports = {
|
|
|
|
babelrc: {
|
|
|
|
presets: [
|
2018-10-31 16:24:32 +08:00
|
|
|
"@babel/preset-env"
|
2019-02-27 16:44:33 +08:00
|
|
|
],
|
2018-10-23 19:32:42 +08:00
|
|
|
},
|
|
|
|
extensions: ['.js'],
|
|
|
|
include: [
|
2018-10-31 16:24:32 +08:00
|
|
|
'src/**/*.js',
|
|
|
|
'test/**/*.js',
|
2019-02-27 16:44:33 +08:00
|
|
|
'node_modules/_three@0.101.1@three/**/*.js',
|
|
|
|
'node_modules/three/**/*.js',
|
2019-02-26 19:32:09 +08:00
|
|
|
'node_modules/simple-statistics/src/*.js'
|
2018-10-23 19:32:42 +08:00
|
|
|
],
|
2018-11-01 11:14:19 +08:00
|
|
|
exclude: [
|
|
|
|
'node_modules/@babel/**/*.js'
|
|
|
|
]
|
2018-10-23 19:32:42 +08:00
|
|
|
}
|