UNPKG

dynamic-import

Version:

Dynamically load scripts, components, css, and templates

25 lines (24 loc) 442 B
const transform = [ [ 'babelify', { 'presets': [ ['env'] ], 'plugins': [ ['transform-runtime', { 'polyfill': true, 'regenerator': true, }] ], } ] ]; module.exports = { tests: { mocha: { files: ['tests/*.js'], transform } } };