import template from 'babel-template';

export default str => {
    return template(str, {sourceType: 'module'});
};

import template from 'babel-template';

export default (str, opts = {}) => {
    return template(str, {
        ...opts,
        sourceType: 'module',
    });
};

Update template wrapper to support preserveComments.
Update template wrapper to support preserveComments.
