mirror of https://github.com/lukechilds/rollup.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
385 B
13 lines
385 B
(function (global, factory) {
|
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('acorn')) :
|
|
typeof define === 'function' && define.amd ? define(['acorn'], factory) :
|
|
(factory(global.acorn));
|
|
}(this, (function (acorn) { 'use strict';
|
|
|
|
function parse$1(source) {
|
|
return acorn.parse(source, { ecmaVersion: 6 });
|
|
}
|
|
|
|
console.log(parse$1('foo'));
|
|
|
|
})));
|
|
|