Sha256: f6ba1cd12cbb38f5a35c6cf2add872fafc113f8fbebc95f3743875acb7d34d0a

Contents?: true

Size: 206 Bytes

Versions: 9

Compression:

Stored size: 206 Bytes

Contents

// const printAST = require('ast-pretty-print')
const {createMacro, MacroError} = require('../../')

module.exports = createMacro(evalMacro)

function evalMacro() {
  throw new MacroError('very helpful')
}

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
disco_app-0.18.0 test/dummy/node_modules/babel-plugin-macros/dist/__tests__/fixtures/macro-error-thrower.macro.js
disco_app-0.18.2 test/dummy/node_modules/babel-plugin-macros/dist/__tests__/fixtures/macro-error-thrower.macro.js
jester-data-8.0.0 node_modules/babel-plugin-macros/dist/__tests__/fixtures/macro-error-thrower.macro.js
ezii-os-5.2.1 node_modules/babel-plugin-macros/dist/__tests__/fixtures/macro-error-thrower.macro.js
ezii-os-2.0.1 node_modules/babel-plugin-macros/dist/__tests__/fixtures/macro-error-thrower.macro.js
ezii-os-1.1.0 node_modules/babel-plugin-macros/dist/__tests__/fixtures/macro-error-thrower.macro.js
ezii-os-1.0.0 node_modules/babel-plugin-macros/dist/__tests__/fixtures/macro-error-thrower.macro.js
ezii-os-0.0.0.1.0 node_modules/babel-plugin-macros/dist/__tests__/fixtures/macro-error-thrower.macro.js
ezii-os-0.0.0.0.1 node_modules/babel-plugin-macros/dist/__tests__/fixtures/macro-error-thrower.macro.js