☰
Debian Codegraph
@
8.0.6+ds1+~cs177.303.116-1
8.0.4+ds1+~cs177.303.116-3
7.20.15+ds1+~cs214.269.168-17
/
/
packages
/
babel-core
/
test
/
fixtures
/
plugins
/
transform-error
/
exec.js
☽
☼
packages/babel-core/test/fixtures/plugins/transform-error/exec.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
var code = "function f() {}";
2
transform(code, {
3
plugins: [
4
function() {
5
return {
6
visitor: {
7
FunctionDeclaration: function(path) {
8
throw new Error("someMsg");
9
},
10
},
11
};
12
},
13
],
14
filename: "/fake/path/example.js"
15
});