g6/.torch.compile.opts.js

29 lines
509 B
JavaScript
Raw Normal View History

2018-06-05 23:58:10 +08:00
module.exports = {
babelrc: {
plugins: [
'transform-object-rest-spread',
2018-06-14 11:50:35 +08:00
'transform-remove-strict-mode',
[
"module-resolver",
{
"alias": {
'@antv/g6': './src/index'
},
}
],
2018-06-05 23:58:10 +08:00
],
presets: [
2018-08-08 17:15:32 +08:00
'env',
2018-06-05 23:58:10 +08:00
],
2018-06-14 11:50:35 +08:00
sourceMaps: 'inline',
2018-06-05 23:58:10 +08:00
},
extensions: ['.js'],
include: [
'src/**/*.js',
'plugins/**/*.js',
2018-06-29 11:28:48 +08:00
'node_modules/**/src/gl-matrix/**/*.js'
2018-06-05 23:58:10 +08:00
],
exclude: [
'bower_components/**/*.js',
]
}