g6/.torch.compile.opts.js
2018-06-14 15:34:37 +08:00

35 lines
600 B
JavaScript

module.exports = {
babelrc: {
plugins: [
'transform-object-rest-spread',
'transform-remove-strict-mode',
[
"module-resolver",
{
"alias": {
'@antv/g6': './src/index'
},
}
],
],
presets: [
[
'env',
{
'loose': true,
'modules': false
}
]
],
sourceMaps: 'inline',
},
extensions: ['.js'],
include: [
'src/**/*.js',
'plugins/**/*.js',
'node_modules/**/src/gl-matrix/**/*.js '
],
exclude: [
'bower_components/**/*.js',
]
}